public WAVWriter(Stream outputStream, int bitsPerSample, int channelCount, int sampleRate) { _wr = new WAVWriter2(outputStream, bitsPerSample, channelCount, sampleRate); blockAlign = (bitsPerSample / 8) * channelCount; }