public WAVEFORMATEX (string encoded)
{
this.encoded = encoded;
FormatTag = ReadUInt16 ();
Channels = ReadUInt16 ();
SamplesPerSec = ReadUInt32 ();
AvgBytesPerSec = ReadUInt32 ();
BlockAlign = ReadUInt16 ();
BitsPerSample = ReadUInt16 ();
Size = ReadUInt16 ();
/*
Console.WriteLine ("{0} => FormatTag: {1} Channels: {2} SamplesPerSec: {3} AvgBytesPerSec: {4} BlockAlign: {5} BitsPerSample: {6} Size: {7}",
encoded, FormatTag, Channels, SamplesPerSec, AvgBytesPerSec, BlockAlign, BitsPerSample, Size);
*/
}