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 System.NullReferenceException from NAudio.Wave.WaveOutEvent.PlaybackThread()
I am using nAudio 1.5.4.
Any thoughts on what causes it, and how I can resolve it?
Comments: I am not calling Init twice... I have moved to nAudio 1.6 and have not been able to recreate the issue since. I think the better handling of exceptions in the Playback thread has helped?
I am occasionally getting a System.NullReferenceException from NAudio.Wave.WaveOutEvent.PlaybackThread()
I am using nAudio 1.5.4.
Any thoughts on what causes it, and how I can resolve it?
Comments: I am not calling Init twice... I have moved to nAudio 1.6 and have not been able to recreate the issue since. I think the better handling of exceptions in the Playback thread has helped?