İngilizce dilinde oku Düzenle

Aracılığıyla paylaş


CAPWAVECALLBACK callback function (vfw.h)

The capWaveStreamCallback function is the callback function used with streaming capture to optionally process buffers of audio data. The name capWaveStreamCallback is a placeholder for the application-supplied function name.

To set the callback, send the WM_CAP_SET_CALLBACK_WAVESTREAM message to the capture window or call the capSetCallbackOnWaveStream macro.

Syntax

CAPWAVECALLBACK Capwavecallback;

LRESULT Capwavecallback(
  HWND hWnd,
  LPWAVEHDR lpWHdr
)
{...}

Parameters

hWnd

Handle to the capture window associated with the callback function.

lpWHdr

Pointer to a WAVEHDR structure containing information about the captured audio data.

Return value

None

Remarks

The capture window calls a wave stream callback function when an audio buffer is marked done by the waveform-audio driver. When capturing to disk, this will precede the disk write operation.

Requirements

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

See also

Video Capture

Video Capture Functions