python-sounddevice icon indicating copy to clipboard operation
python-sounddevice copied to clipboard

sounddevice.PortAudioError: Error opening Stream: Device unavailable [PaErrorCode -9985]

Open Vanshaj712 opened this issue 3 years ago • 1 comments

sounddevice.PortAudioError: Error opening Stream: Device unavailable [PaErrorCode -9985] This is my Windows machine with X86 and windows 10

python client.py client started


Traceback (most recent call last): File "client.py", line 34, in sdstream = sd.Stream(samplerate=44100, channels=1, dtype='float32') File "C:\Users\milan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sounddevice.py", line 1795, in init **_remove_self(locals())) File "C:\Users\milan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sounddevice.py", line 895, in init 'Error opening {}'.format(self.class.name)) File "C:\Users\milan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\sounddevice.py", line 2741, in _check raise PortAudioError(errormsg, err) sounddevice.PortAudioError: Error opening Stream: Device unavailable [PaErrorCode -9985]

Vanshaj712 avatar Jan 23 '22 16:01 Vanshaj712

Please have a look at https://python-sounddevice.readthedocs.io/CONTRIBUTING.html#reporting-problems and edit your question accordingly.

mgeier avatar Jan 31 '22 20:01 mgeier