DirectX SDK |
The DirectX7.DirectSoundCaptureCreate method creates a DirectSoundCapture object.
object.DirectSoundCaptureCreate(guid As String) _ As DirectSoundCapture
If the method succeeds, a reference to a DirectSoundCapture object is returned.
If the method fails, an error is raised and Err.Number may be set to one of the following error codes:
DSERR_INVALIDPARAM |
DSERR_NOAGGREGATION |
DSERR_OUTOFMEMORY |
This method could fail on some sound cards that do not support full duplex. Calling DirectX7.DirectSoundCreate may set the capture device to an unsupported capture frequency which will cause DirectX7.DirectSoundCaptureCreate to fail.