public WavParser(Stream stream) : base(stream, FourCC.Riff, 0) { if (RiffType != FourCC.Wave) { throw new InvalidOperationException("File is not a WAV file"); } }