internal void Write(Stream output)
{
BitStream bits = new BitStream(output);
bits.WriteBits(11, this._synchWord);
bits.WriteBits(2, this._MPEGVersion);
bits.WriteBits(2, this._layer);
bits.WriteBits(1, true == this._protectionBit ? 1 : 0);
bits.WriteBits(4, this._bitrate);
bits.WriteBits(2, this._samplingRate);
bits.WriteBits(1, true == this._paddingBit ? 1 : 0);
bits.WriteBits(1,0);
bits.WriteBits(2, this._channelMode);
bits.WriteBits(2, this._modeExtension);
bits.WriteBits(1, true == this._copyright ? 1 : 0);
bits.WriteBits(1, true == this._original ? 1 : 0);
bits.WriteBits(2, this._emphasis);
output.Write(this._sampleData, 0, this._sampleData.Length);
}