-
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
Can't write to a callback stream [PaErrorCode -9976] #476
Comments
Davis8483
changed the title
sounddevice.PortAudioError: Can't write to a callback stream [PaErrorCode -9976]
Can't write to a callback stream [PaErrorCode -9976]
Jun 20, 2023
The error message says it all. But maybe it's not clear what a "callback stream" is? A callback stream is a stream with a callback function. Your stream has a callback function, and you are trying to write to it. But you can't.
Exactly, because then it ceases to be a callback stream and you can write to it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get the current audio level of the wav file thats playing using a callback function. When ran it results in,
sounddevice.PortAudioError: Can't write to a callback stream [PaErrorCode -9976]
The audio plays correctly when the callback parameter is removed.
Here's the code...
The text was updated successfully, but these errors were encountered: