Platform SDK: DirectX

IDirectSoundCaptureBuffer

The methods of the IDirectSoundCaptureBuffer interface are used to manipulate sound capture buffers.

The interface is obtained by calling the IDirectSoundCapture::CreateCaptureBuffer method.

The methods of the IDirectSoundCaptureBuffer interface may be grouped as follows:

Initialization Initialize
Information GetCaps
  GetCurrentPosition
GetFormat
GetStatus
Capture management Lock
  Start
Stop
Unlock

Like all COM interfaces, the IDirectSoundCaptureBuffer interface also inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
Release

The LPDIRECTSOUNDCAPTUREBUFFER type is defined as a pointer to the IDirectSoundCaptureBuffer interface:

typedef struct IDirectSoundCaptureBuffer  *LPDIRECTSOUNDCAPTUREBUFFER;

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dsound.h.
  Import Library: Use dsound.lib.