Skip to content

Commit

Permalink
Fix filoe#332: Reading wav gsm file runs into assertation.
Browse files Browse the repository at this point in the history
  • Loading branch information
filoe committed May 9, 2018
1 parent 2ae378f commit 36a5a2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CSCore/Codecs/WAV/FMTChunk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public FmtChunk(BinaryReader reader)
}

_waveFormat = new WaveFormat(sampleRate, (short) bitsPerSample, (short) channels, encoding, extraSize);
Debug.Assert(blockAlign == _waveFormat.BlockAlign);
Debug.Assert(avgBps == _waveFormat.BytesPerSecond);
}
}

Expand Down

0 comments on commit 36a5a2e

Please sign in to comment.