Microsoft DirectX 9.0

IDirectSoundCapture8 Interface

The IDirectSoundCapture8 interface is used to create sound capture buffers.

The interface is obtained by using the DirectSoundCaptureCreate8 or DirectSoundFullDuplexCreate8 functions, or by using CoCreateInstance or CoCreateInstanceEx to create an object of class CLSID_DirectSoundCapture8.

IDirectSoundCapture8 is a define for IDirectSoundCapture. The two interface names are interchangeable. However, objects supporting this interface can have different functionality, depending on their class. For more information, see DirectSoundCaptureCreate8 and IDirectSoundCapture8::CreateCaptureBuffer.

In addition to the methods inherited from IUnknown, the IDirectSoundCapture8 interface exposes the following methods.

Method Description
CreateCaptureBuffer Creates a buffer for capturing waveform audio.
GetCaps Retrieves the capabilities of the capture device.
Initialize Initializes a capture device object created by using CoCreateInstance.

The LPDIRECTSOUNDCAPTURE type is defined as a pointer to the IDirectSoundCapture interface:

typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE;


  Header: Declared in dsound.h.

See Also