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

Created Issue: NullReference exception with CueList [16373]

$
0
0
Second constructor in CueList file is missing the initialization of the cues member.
"private List<Cue> cues = new List<Cue>();"

This produces a null reference exception when trying to use the CueWaveFileReader.

I suggest you initialize the list inline instead.

NAudio-Source\NAudio\Wave\WaveStreams\CueList.cs, line 92
from
private List<Cue> cues;
to
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>