CaptureBuffer Class (Microsoft.DirectX.DirectSound)

Contains properties and methods used to manipulate sound capture buffers.


Visual Basic Public Class CaptureBuffer
    Inherits ObjectLeave Site
C# public class CaptureBuffer : ObjectLeave Site
C++ public ref class CaptureBuffer : ObjectLeave Site
JScript public class CaptureBuffer extends ObjectLeave Site

Members Table

The following table lists the members exposed by the object.


Event Description
Disposing Occurs when the Dispose method is called or when the CaptureBuffer object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.


Method Description
CaptureBuffer Initializes a new instance of the CaptureBuffer class.
Dispose Immediately releases the unmanaged resources used by the CaptureBuffer object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the CaptureBuffer object to free resources before it is destroyed by the garbage collector.
GetCurrentPosition Retrieves the position of the capture and read cursors in the CaptureBuffer object.
GetEffectsStatus Retrieves the status of capture effects.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code.
GetObjectInPath Retrieves a capture effect object associated with the CaptureBuffer object.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
raise_Disposing Raises the CaptureBuffer.Disposing event when called from within a derived class.
Read Reads current data in the capture buffer.
Start Begins capturing data into the buffer.
Stop Stops the buffer so that it is no longer capturing data.
Write Writes data to the capture buffer.


Property Description
Caps Retrieves the capabilities of the capture buffer.
Capturing Retrieves whether the capture buffer is currently capturing.
Disposed Gets a value that indicates whether the object is disposed.
Format Retrieves the waveform format of the capture buffer.
Looping Retrieves whether the capture buffer is currently looping.

Inheritance Hierarchy

ObjectLeave Site


Class Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492