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

Handle will increase when using callback in InputStream

Open KzDog opened this issue 5 years ago • 1 comments

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 : )

KzDog avatar Nov 09 '20 08:11 KzDog

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!

mgeier avatar Nov 16 '20 21:11 mgeier