Microsoft DirectX 9.0 SDK Update (October 2004)

BufferCaps Structure

Language:

Note: This documentation is preliminary and is subject to change.

Contains properties that describe the capabilities of a Buffer object or a SecondaryBuffer object.

Definition

Visual Basic .NET Public Structure BufferCaps
C# public struct BufferCaps
Managed C++ public __value struct BufferCaps
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
BufferCaps Initializes a new instance of the BufferCaps structure.
ToString Obtains a string representation of the current instance.
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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center