EncodeFormats.ACM.GetCodecFormatWavData method |
|
Remarks
Obtains the WAVEFORMATEX data structure, which defines the format of waveform-audio data, that describes the format of the given ACM codec including any extra-byte the specific format may require.
The WAVEFORMATEX structure, common to all waveform-audio formats, is defined inside the Microsoft SDK as follows: typedef struct { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; } WAVEFORMATEX;
The cbSize member defines how many extra-bytes are appended to the end of the WAVEFORMATEX structure: the total size in bytes of the WAVEFORMATEX data structure that describes the given format, including any extra-byte the specific format may require, can be obtained using the EncodeFormats.ACM.GetCodecFormatWavDataLength method.
For further details about using the Windows Audio Compression Manager refer to the ACM object section. For a tutorial about the use of the Windows Audio Compression Manager refer to the How to use the Windows Audio Compression Manager section. For further information about available encoding formats see the EncodeFormats object.
Syntax
Return value
|