BufferCaps Structure
Language: Visual Basic C# C++ JScript (Show All)
Contains properties that describe the capabilities of a Buffer object or a SecondaryBuffer object.
Definition
Visual Basic
Public Structure BufferCaps
C#
public struct BufferCaps
C++
public value class BufferCaps sealed
JScript
In JScript, you can use structures, but you cannot define your own.
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method
Description
BufferCaps
Initializes a new instance of the BufferCaps structure.
ToString
Obtains a string representation of the current instance.
Properties
Property
Description
BufferBytes
Retrieves the size of the new buffer.
CanGetCurrentPosition
Retrieves whether the application can get a more accurate play cursor.
Control3D
Retrieves whether the buffer has 3-D control capability.
ControlEffects
Retrieves whether the buffer supports effects processing.
ControlFrequency
Retrieves whether the buffer has frequency control capability.
ControlPan
Retrieves whether the buffer has pan control capability.
ControlPositionNotify
Retrieves whether the buffer has position notification capability.
ControlVolume
Retrieves whether the buffer has volume control capability.
GlobalFocus
Retrieves whether the buffer is a global sound buffer.
LocateInHardware
Retrieves whether the buffer must use hardware mixing.
LocateInSoftware
Retrieves whether the buffer must use software memory and use software mixing, even if BufferDescription.StaticBuffer is specified and hardware resources are available.
LocationDefer
Retrieves whether the buffer can be assigned to a hardware or software resource at play time.
Mute3DAtMaximumDistance
Retrieves whether the sound is reduced to silence at the maximum distance.
PlayCpuOverhead
Retrieves the processing overhead, as a percentage, of main processor cycles needed to mix this sound buffer.
PrimaryBuffer
Retrieves whether the buffer is a primary sound buffer .
StaticBuffer
Retrieves whether the buffer is placed in on-board hardware memory, if available.
StickyFocus
Retrieves whether the buffer has sticky focus.
UnlockTransferRate
Retrieves the rate, in kilobytes per second, at which data is transferred to the buffer memory when reading and writing to a buffer.
Structure 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
See Also
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center