摘要:
typedefstruct {WORDwFormatTag;WORDnChannels;DWORD nSamplesPerSec;DWORD nAvgBytesPerSec;WORDnBlockAlign;WORDwBitsPerSample;WORDcbSize;}WAVEFORMATEX;以上为WaveFormatEx的C语言定义在C#中可以写成: [StructLayout(LayoutKind.Sequential)]publicclassWaveFormatEx {privateshortwFormatTag;privateshortnChannels;privateintnSamp 阅读全文