Microsoft DirectX 8.1 (C++) |
The IDirectSoundCapture8 interface is used to create sound capture buffers.
The interface is obtained by using the DirectSoundCaptureCreate8 or DirectSoundFullDuplexCreate8 function, or , 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 capture buffer. |
GetCaps | Retrieves the capabilities of the capture device. |
Initialize | Initializes a DirectSoundCapture object created by using CoCreateInstance. |
The LPDIRECTSOUNDCAPTURE type is defined as a pointer to the IDirectSoundCapture interface:
typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE;
Requirements
Header: Declared in dsound.h.