I have a problem with a .wav-file that has an invalid chunk length in its header. In the WaveFileReader.cs the section
Thanks & Best regards
Kay
if (chunkLength < 0 || chunkLength > stream.Length - stream.Position)
{
Debug.Assert(false, String.Format("Invalid chunk length {0}, pos: {1}. length: {2}",
chunkLength, stream.Position, stream.Length));
// an exception will be thrown further down if we haven't got a format and data chunk yet,
// otherwise we will tolerate this file despite it having corrupt data at the end
break;
}
causes a popup-window because of the debug assertion. However, the .wav-file can be played without a problem. So I guess NAudio 1.5 is a debug-build. Is it possible to deliver NAudio 1.5 as a release-build instead of the debug version? That would help a lot.Thanks & Best regards
Kay