Windows Media Encoder SDK banner art

DirectSound Buffer Settings in Audiopaths

Audiopaths make use of buffers that are controlled by the Microsoft DirectSound component of the operating system. Depending on the capabilities of the buffers in an audiopath, certain settings, called flags, are stored with the audiopath configuration. These flags are chiefly of interest to application developers.

The following table shows which flags are present for different buffer configurations.

Buffer properties Flags
All buffers. DSBCAPS_CTRLVOLUME
DSBCAPS_GLOBALFOCUS
All standard buffers. DSBCAPS_CTRLFX
User-defined buffers containing effects. DSBCAPS_CTRLFX
2-D buffers. DSBCAPS_CTRLPAN
3-D buffers. DSBCAPS_CTRL3D
Buffers that have no PChannels in the mix group. DSBCAPS_MIXIN
All buffers except those with DSBCAPS_MIXIN. DSBCAPS_LOCDEFER
Buffers that have Enable Doppler Effect selected in the Buffer Properties window. DSBCAPS_CTRLFREQUENCY

For more information on the flags, see the topic for the DSBUFFERDESC structure in the DirectX C++ documentation.


© 2000-2001 Microsoft Corporation. All rights reserved.