capWaveStreamCallback

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

LRESULT CALLBACK capWaveStreamCallback(
  HWND hWnd,        
  LPWAVEHDR lpWHdr  
);
 

Parameters

hWnd
Handle of the capture window associated with the callback function.
lpWHdr
Address of a WAVEHDR structure containing information about the captured audio data.

Remarks

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: User-defined.

See Also

Video Capture Overview, Video Capture Functions, WAVEHDR