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
fail to load asio driver with a thread #442
Comments
Maybe running on a different thread is simply not supported by ASIO? Just try to start the stream on the main thread. For a GUI example, see https://github.com/spatialaudio/python-sounddevice/blob/master/examples/rec_gui.py |
you're right, thanks. solve it by running it in another process. |
I'd like to emphasize the very good remark of @mgeier with my personal experience: I created a script composed of a GUI and some sounddevice code, which finds its close origin from
I have tried on the same computer and same device Here is a part of my code with this threading thing that I suppose being the issue.
SOLUTION: Windows 10 |
I want to use a pyqt5 GUI to playback a sound with a soundcard.
The index of my asio Fireface USB is 66.
its work.so i try to use this function within a pyqt5 GUI and create a thread to control.
but its fail.
how can we fix it,thanks a lot.
soundcare info:Fireface UFX, connected with 8 loudspeakers
The text was updated successfully, but these errors were encountered: