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 |
---|---|
IDirectSoundCapture8::CreateCaptureBuffer | The CreateCaptureBuffer method creates a buffer for capturing waveform audio. |
IDirectSoundCapture8::GetCaps | The GetCaps method retrieves the capabilities of the capture device. |
IDirectSoundCapture8::Initialize | The Initialize method initializes a capture device object created by using CoCreateInstance. Calling this method is not required when the DirectSoundCaptureCreate8 or DirectSoundFullDuplexCreate8 function is used to create the object. |
The LPDIRECTSOUNDCAPTURE type is defined as a pointer to the IDirectSoundCapture interface:
typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE;
Header: Declared in Dsound.h.
Import Library: Use Dsound3d.dll.