The capSetAudioFormat macro sets the audio format to use when performing streaming or step capture. You can use this macro or explicitly call the WM_CAP_SET_AUDIOFORMAT message.
BOOL capSetAudioFormat(
hwnd,
psAudioFormat,
wSize
);
Returns TRUE if successful or FALSE otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Macros, PCMWAVEFORMAT, WAVEFORMATEX, WM_CAP_SET_AUDIOFORMAT