Skip to content
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

OSError: [Errno -9985] Device unavailable #6

Open
lordlouckster opened this issue Jan 1, 2021 · 0 comments
Open

OSError: [Errno -9985] Device unavailable #6

lordlouckster opened this issue Jan 1, 2021 · 0 comments

Comments

@lordlouckster
Copy link

lordlouckster commented Jan 1, 2021

Traceback (most recent call last):
  File "__init__.py", line 94, in <module>
    main()
  File "__init__.py", line 89, in main
    processor = AudioProcessor()
  File "__init__.py", line 40, in __init__
    self.audio_frame_provider = get_frame_provider(microphone)
  File "__init__.py", line 29, in get_frame_provider
    return MicrophoneFrameProvider(SAMPLE_RATE, SAMPLES_PER_FRAME)
  File "C:\Users\Admin\Downloads\offkeyboard-windows-master\offkeyboard-windows-master\offkeyboard\frame_provider.py", line 33, in __init__
    self.stream = pyaudio.PyAudio().open(
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\pyaudio.py", line 750, in open
    stream = Stream(self, *args, **kwargs)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\pyaudio.py", line 441, in __init__
    self._stream = pa.open(**arguments)
OSError: [Errno -9985] Device unavailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant