Skip to content

Latest commit

 

History

History
77 lines (48 loc) · 2.06 KB

wm-cap-set-audioformat.md

File metadata and controls

77 lines (48 loc) · 2.06 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
WM_CAP_SET_AUDIOFORMAT message (Vfw.h)
The WM\_CAP\_SET\_AUDIOFORMAT message sets the audio format to use when performing streaming or step capture. You can send this message explicitly or by using the capSetAudioFormat macro.
8bffa401-3d36-43bb-9f69-988ebc69b860
WM_CAP_SET_AUDIOFORMAT message Windows Multimedia
apiref
WM_CAP_SET_AUDIOFORMAT
Vfw.h
HeaderDef
reference
05/31/2018

WM_CAP_SET_AUDIOFORMAT message

The WM_CAP_SET_AUDIOFORMAT message sets the audio format to use when performing streaming or step capture. You can send this message explicitly or by using the capSetAudioFormat macro.

WM_CAP_SET_AUDIOFORMAT 
wParam = (WPARAM) (wSize); 
lParam = (LPARAM) (LPVOID) (LPWAVEFORMATEX) (psAudioFormat); 

Parameters

wSize

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

psAudioFormat

Pointer to a WAVEFORMATEX or PCMWAVEFORMAT structure that defines the audio format.

Return Value

Returns TRUE if successful or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Capture

Video Capture Messages