capSetAudioFormat  R327HP 

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.4RPQN message.

BOOL capSetAudioFormat(

    hwnd,

 

    psAudioFormat,

 

    wSize

 

   );

 

 

Parameters

hwnd

Handle of a capture window.

wSize

Size, in bytes, of the structure referenced by s.

psAudioFormat

Address of a WAVEFORMATEX2R_J_MS or PCMWAVEFORMAT329HC5C structure that defines the audio format.

 

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

PCMWAVEFORMAT, WAVEFORMATEX, WM_CAP_SET_AUDIOFORMAT