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

Edited Issue: NullReference exception with CueList [16373]

$
0
0
Second constructor in CueList file is missing the initialization of the cues member.<br />"private List<Cue> cues = new List<Cue>();"<br /><br />This produces a null reference exception when trying to use the CueWaveFileReader.<br /><br />I suggest you initialize the list inline instead.<br /><br />NAudio-Source\NAudio\Wave\WaveStreams\CueList.cs, line 92<br />from<br />private List<Cue> cues;<br />to<br />private List<Cue> cues = new List<Cue>();

Viewing all articles
Browse latest Browse all 738

Trending Articles



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