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.
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.