Platform SDK: DirectX

DirectSoundCaptureBuffer.Start

The DirectSoundCaptureBuffer.Start method begins capturing data into the buffer. If the capture buffer is already capturing data, the method has no effect.

object.Start(flags As CONST_DSCBSTARTFLAGS)

Parameters

object
Object expression that resolves to a DirectSoundCaptureBuffer object.
flags
Flags that specify the behavior for the capture buffer when capturing sound data. Can be one of the constants of the CONST_DSCBSTARTFLAGS enumeration.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following error values.

DSERR_INVALIDPARAM
DSERR_NODRIVER
DSERR_OUTOFMEMORY