Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Unassigned: AsioOut dispose() - keep signal [16500]

$
0
0
Hello,
I'm reading some wave files using AsioOut and a WaveMixerStream32. Everything works great but I noticed that sometimes (1 time on 5) when I close and start again my program, I have a loud signal playing in the output of my audiocard and I have to restart the app to delete the signal and come back to normal.

I'm thinking it's the asioOut which stays open or something like that.
When i close the app, I'm doing the following :
1. I remove all the input stream in my audio mixer and I stop the asioOut
_asioOut.Stop();

2. After 0.5s, I dispose all the mixer, the channels and asioOut and set them to null.

Am I doing something wrong here?
How can I get rid of the loud signal ?

(My audio card is a Komplete Audio 6 and it's compatible asio driver)

Thanks for your help !
Comments: Sometimes some audio card drivers seem to get stuck playing the same buffer over and over. That might be what's happening here. But it's very hard to suggest what could be done to work around this. Does it happen at higher latency settings?

Viewing all articles
Browse latest Browse all 738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>