-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sounddevice.PortAudioError: Error opening InputStream: Device unavailable [PaErrorCode -9985] #173
Comments
Upon further probing, even though the above line shows the headset microphone as the default and it is in fact the default for the Windows system I am using, the only device that works is
If I used the plotline.py example for example which is in the repository and I unplug my headset, I see it run without error and pick up my voice. Usually, I will have my headset plugged in so I can google hangout people online. It doesn't seem right that I have to try to find which device number is Jack Mic and then use that overwriting the default input device for my computer which works just fine on hangout. |
The error message and the behavior you are describing are directly provided by the underlying PortAudio library. There is nothing I can do in the You should probably ask about this on the PortAudio mailing list: http://portaudio.com/contacts.html |
@demongolem Are there any news on this issue? |
No, I did report to PortAudio, but there has been no response on that. |
OK, thanks for reporting this, could you please provide a link to the issue so we can follow it here? |
Thanks for the link! You would probably reach more people (including PortAudio users, not only core developers) when you ask on the mailing list. Probably there is somebody else who could try the Plantronics C320 on Windows/MME? I guess this is the device: https://www.plantronics.com/us/en/product/blackwire-310-320 And just to make sure: This problem only occurs with this one device, right? |
i have the same problem too . |
I have this problem too |
Did you ask on the PortAudio mailing list (http://portaudio.com/contacts.html)? |
I guess same error. I am also on MacMojave and try to play a sound file if a microphone signal goes above a threshold. I have :
When I run this the sound goes above the threshold, however, it cannot open the output Stream as follows;
I have restarted my iMac ( Mojave) and still get the same error. Any help would be much appreciated. CS |
I guess same error too. macOS Big Sur 11.5 beta, sounddevice 0.4.1.
When I run this;
|
My problem was solved with this method #299
Thanks |
|
I resolved this by enabling |
Uninstalling sounddevice from
|
Thank you, @warrenarea I tried it and now the problem is solved. |
When trying to record, I use the line
This leads to
When I do
python -m sounddevice
I get this line:Why would this device not be available for recording?
The text was updated successfully, but these errors were encountered: