Microsoft DirectX 8.1 (Visual Basic)

DirectSoundCaptureBuffer8.Start

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

Syntax

object.Start(flags As CONST_DSCBSTARTFLAGS)

Parts

object

Resolves to a DirectSoundCaptureBuffer8 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