python-rtmixer icon indicating copy to clipboard operation
python-rtmixer copied to clipboard

Can't stop execution when coreaudiod restarts. Stale read

Open SolomidHero opened this issue 2 years ago • 5 comments

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.

SolomidHero avatar Feb 12 '22 11:02 SolomidHero