I have written an application that uses nAudio to play wav files when 'events' happen, and records audio from the microphone.
I am occasionally getting a NAudio.MmException from NAudio.Wave.WaveOutBuffer.WriteToWaveOut()
I am using nAudio 1.5.4.
Any thoughts on what causes it, and how I can resolve it?
Comments: I have moved to nAudio 1.6 and have not been able to recreate the issue since. I think the better handling of exceptions/Stopped event in the Playback thread has solved this?
I am occasionally getting a NAudio.MmException from NAudio.Wave.WaveOutBuffer.WriteToWaveOut()
I am using nAudio 1.5.4.
Any thoughts on what causes it, and how I can resolve it?
Comments: I have moved to nAudio 1.6 and have not been able to recreate the issue since. I think the better handling of exceptions/Stopped event in the Playback thread has solved this?