Skip to content

WASAPI streams cannot from a thread different to the thread the pyaudio interface was created in #23

@NSGauge

Description

@NSGauge

What problem are you facing?

  • audio isn`t recorded
  • audio is recorded with artifacts
  • problem with "silence"
  • other

What is the cause of the error (in your opinion)?

  • PyAudio\PortAudio bug
  • I just need help(or answer)

Before creating, complete the checklist:

If the problem is related to the inability to record sound from speakers,
then before creating this issue, try to first record audio using the provided examples
(for example, simple_recording_app.py)

Start your issue here 👇

Script that has examples mentioned below and demonstrates the bug

  • Trying to open a WASAPI stream using a PyAudio instance created in a different thread causes an unanticipated host error (example 2)
  • This issue only applies to WASAPI interfaces (example 3).
  • Creating the stream from the same thread as the PyAudio instance was works fine (example 1 and 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions