python-rtmixer
python-rtmixer copied to clipboard
Can't stop execution when coreaudiod restarts. Stale read
I am using examples/signal_processing.py
My system is macos, so I use coreaudio.
When I restart coreaudiod
(when running script) by:
sudo launchctl stop com.apple.audio.coreaudiod && sudo launchctl start com.apple.audio.coreaudiod
or simply
sudo killall coreaudiod
process doesn't throw anything and stales in read loop. Throwing exception by myself doesn't help too (it doesn't throw and continues in stale mode).
Same if I delete virtual audio device I used in definition of mixer class.