python-sounddevice
python-sounddevice copied to clipboard
Handle will increase when using callback in InputStream
I create a InputStream with a callback function to get audio data like this example: example. But I found that the number of handles was increasing through the windows task manager. If I create this stream multiple times in a process, the handle is incremented by 2 at a time. And if callback is not specified, the number of handles will not increase.
I want to know what the problem is and how to solve it. Looking forward to your reply : )
This sound very much like #140, doesn't it?
I'm not a Windows user, so I cannot reproduce this, but if you have an idea about how to improve the situation, please let me know!