python-sounddevice
python-sounddevice copied to clipboard
2 error messages after playback
Context: Linux 5.15.23, python 3.8.12, sounddevice 0.4.3 I'm using sounddevice + SoundFile for playback of short WAV files. I need no-blocking operation so I use callback in RawOutputStream. Playback works fine but I get 2 error messages after playback: Expression 'pthread_join( self->thread, &pret )' failed in 'src/os/unix/pa_unix_util.c', line: 441 Expression 'PaUnixThread_Terminate( &stream->thread, !abort, &threadRes )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3102 Seem to come from a threading library. Can somebody help?
If everything works, you might as well ignore the message.
But if you want to look into it, you should try to find out which PortAudio library you are using. Did you install it with the package manager?
You can try to compile PortAudio from source, maybe this makes the message go away?