Share via


Buffer.Caps Property (Microsoft.DirectX.DirectSound)

Retrieves the capabilities of the buffer object.

Definition

Visual Basic Public ReadOnly Property Caps As BufferCaps
C# public BufferCaps Caps { get; }
C++ public:
property BufferCaps Caps {
        BufferCaps get();
}
JScript public function get Caps() : BufferCaps

Property Value

Microsoft.DirectX.DirectSound.BufferCaps
A BufferCaps object that describes the capabilities of the buffer.

This property is read-only. 

Remarks

The BufferCaps structure contains similar information to the BufferDescription class passed to the Buffer constructor, with some additional information. This additional information can include the buffer's location, either in hardware or software, and performance measures.

The BufferCaps properties are the same properties used by the BufferDescription class. The only difference is that in the BufferCaps structure, either BufferCaps.LocateInHardware or BufferCaps.LocateInSoftware will be set to true according to the location of the buffer memory. In the BufferDescription class, setting the properties are optional and, depending on which property is set, force the buffer to be located in either hardware or software.

Applies To

SecondaryBuffer