CaptureBuffer.Stop() Method (Microsoft.DirectX.DirectSound)

Stops the buffer so that it is no longer capturing data.

Definition

Visual Basic Public Sub Stop()
C# public void Stop();
C++ public:
void Stop();
JScript public function Stop();

Remarks

If the buffer is not capturing, the method has no effect.

Exceptions

OutOfMemoryExceptionLeave Site

Microsoft DirectSound could not allocate sufficient memory to complete the call.

NoDriverException

No sound driver is available for use, or the given globally unique identifier (GUID) is not a valid DirectSound device identifier (ID).