BufferDescriptionFlags Enumeration |
Language: |
Contains constants for specifying the capabilities of sound buffers.
Visual Basic Public Enum BufferDescriptionFlags C# public enum BufferDescriptionFlags C++ public enum class BufferDescriptionFlags JScript public enum BufferDescriptionFlags
Member Value Description LocateInHardware 4 The buffer must use hardware mixing. LocateInSoftware 8 The buffer must be in software memory and use software mixing. StickyFocus 16384 The buffer has sticky focus. If the user switches to another application not using Microsoft DirectSound, the application's normal buffers are muted, but sticky focus buffers are still audible. StaticBuffer 2 No error occurs if such memory is not available. This flag has no effect on cards using the Peripheral Component Interconnect (PCI) bus. Cannot be combined with ControlEffects. PrimaryBuffer 1 The buffer is a primary buffer. Cannot be combined with ControlEffects. Mute3DAtMaximumDistance 131072 The sound is reduced to silence at the maximum distance. Applies only to software buffers. GlobalFocus 32768 The buffer is a global sound buffer. With this flag set, an application using DirectSound can continue to play its buffers if the user switches focus to another application, even if the new application uses DirectSound. CanGetCurrentPosition 65536 The buffer can get an more accurate accurate play cursor. ControlVolume 128 The buffer has volume control capability. ControlPositionNotify 256 The buffer has position notification capability. ControlPan 64 The buffer has pan control capability. Cannot be combined with Control3D. ControlEffects 512 The buffer supports effects processing. ControlFrequency 32 The buffer has frequency control capability. Control3D 16 The buffer has 3-D control capability. Cannot be combined with ControlPan, and cannot be set for a buffer with a stereo format in WaveFormat. DeferLocation 262144 The buffer can be assigned to a hardware or software resource at play time. This flag must be set for buffers that use voice management.
This enumeration is used by the BufferDescription.Flags property to set the capabilities using flags.
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
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