DirectX SDK

DirectSoundCaptureBuffer.Stop

The DirectSoundCaptureBuffer.Stop method puts the capture buffer into the "stop" state and stops capturing data. If the capture buffer is already in the stop state then the method has no effect.

object.Stop()

Parameters

object
Object expression that resolves to a DirectSoundCaptureBuffer object.

Error Codes

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

DSERR_NODRIVER
DSERR_OUTOFMEMORY