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

Commented Issue: ArgumentException in DecompressFrame (Destination array was not long enough) [16331]

$
0
0
This exception happens every time with a specific mp3 I am playing back, at a specific time in the mp3. The exception is on the line:
Array.Copy(conversionStream.DestBuffer, 0, dest, destOffset, converted);

converted has a value of: 23040
dest is a: {byte[9216]}

Hence the not long enough message. I couldn't tell you what's going on under the hood to explain why there's this mismatch. I've only seen it with this one mp3 so far, but it happens consistently.
Comments: There are 3 sample mp3 files on Windows 7 systems (C:\Users\Public\Music\Sample Music\), none of them can be converted with NAudio. I think that problem has the same cause.

Viewing all articles
Browse latest Browse all 738

Trending Articles



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