Microsoft DirectX 8.0 (C++)

IDirectSoundCaptureBuffer8

Used to manipulate sound capture buffers.

To obtain the IDirectSoundCaptureBuffer8 interface, call the IDirectSoundCapture8::CreateCaptureBuffer method to obtain IDirectSoundCaptureBuffer, then pass IID_IDirectSoundCaptureBuffer8 to IDirectSoundCaptureBuffer::QueryInterface.

Note  IDirectSoundCaptureBuffer8 cannot be obtained if the IDirectSoundCapture8 interface was obtained by using the DirectSoundCaptureCreate function. See  DirectSoundCaptureCreate8.

The methods of this interface can be grouped as follows:

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

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

IUnknown AddRef
  QueryInterface
  Release

The LPDIRECTSOUNDCAPTUREBUFFER8 type is defined as a pointer to the IDirectSoundCaptureBuffer8 interface:

typedef struct IDirectSoundCaptureBuffer8 *LPDIRECTSOUNDCAPTUREBUFFER8;

Requirements

  Header: Declared in dsound.h.