spatialaudio / python-sounddevice

:sound: Play and Record Sound with Python :snake:
https://python-sounddevice.readthedocs.io/
MIT License
1.02k stars 149 forks source link

Redirect stderr with os.dup2() instead of CFFI calls #444

Closed mgeier closed 1 year ago

mgeier commented 1 year ago

I'm not quite sure yet if we should do this, this has to be tested thoroughly.

With a bit of luck, this might fix #90.

However, it might also have bad side effects ...

mgeier commented 1 year ago

I already mentioned this 7 years ago: https://github.com/spatialaudio/python-sounddevice/issues/10#issuecomment-158344854 and https://github.com/spatialaudio/python-sounddevice/issues/11#issuecomment-155836787

I don't quite remember the reason why I didn't go with it at the time.