This project has moved. For the latest updates, please go here.

AsioOut.Stop breaks subsequent calls to AsioOut.Play

Jun 25, 2014 at 3:44 PM

I am using the AsioOut class to record from an Asio audio device. I can record by initialising the object and then calling AsioOut.Play. If I then call AsioOut.Stop and then AsioOut.Play again to resume recording, the AudioAvailable event fires exactly 2 times and then doesn't fire again after that.

I have looked in the NAudioDemo application at the Asio recording example, and it looks like in the demo, you get around this problem by disposing of the AsioOut object and creating a new one each time you start recording. If I modify this demo app to keep hold of the existing AsioOut object rather than creating a new one one resuming playback, I then get this problem.

Jun 29, 2014 at 10:18 PM
thanks, probably a bug in AsioOut. Will try to get this looked at at some point