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

Commented Issue: System.NullReferenceException in NAudio.Wave.WaveOutEvent.PlaybackThread() [16386]

$
0
0
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?

Viewing all articles
Browse latest Browse all 738

Trending Articles