DirectX SDK |
The DirectSoundCapture.CreateCaptureBuffer method creates a capture buffer.
Unlike DirectSound, which can mix several sounds into one sound for output, DirectSoundCapture cannot do the exact opposite and extract various sounds from one input sound. For the first version, DirectSoundCapture allows only one capture buffer to exist at any given time per capture device.
object.CreateCaptureBuffer( _ bufferDesc As DSCBUFFERDESC) _ As DirectSoundCaptureBuffer
If the method succeeds, a DirectSoundCaptureBuffer object is returned.
If the method fails, an error is raised and Err.Number may be set to one of the following error values:
DSERR_INVALIDPARAM |
DSERR_BADFORMAT |
DSERR_GENERIC |
DSERR_NODRIVER |
DSERR_OUTOFMEMORY |
DSERR_UNINITIALIZED |