Microsoft DirectX 8.1 (C++) |
If your application does not play exclusively on audiopaths created from audiopath configuration objects, you must create one or more standard audiopaths.
Standard audiopaths are identified by the values passed in the dwType parameter of IDirectMusicPerformance8::CreateStandardAudioPath or in the dwDefaultPathType parameter of IDirectMusicPerformance8::InitAudio.
The audiopaths defined by DirectMusic manage the flow of synthesizer output through combinations of standard buffers, some of which have effect
Audiopath Type | Standard Buffers | Buffer Shared? |
DMUS_APATH_DYNAMIC_3D | 3-D Dry | No |
DMUS_APATH_DYNAMIC_MONO | Mono | No |
DMUS_APATH_DYNAMIC_STEREO | Stereo | No |
DMUS_APATH_SHARED_STEREOPLUSREVERB | Stereo Reverb |
Yes Yes |
Characteristics of the standard buffers are shown in the following table, where the Capabilities column lists values returned in the dwFlags member of the DSBCAPS structure passed to IDirectSoundBuffer8::GetCaps. The last column shows interfaces that can always be obtained from the buffer object. In addition, applications can add effects to buffers by using IDirectSoundBuffer8::SetFX, in which case other interfaces will be available. IDirectSoundBuffer8 is available for all buffers. For more information on obtaining interfaces, see Retrieving Objects from an Audiopath.
Standard Buffer | Description | Capabilities | Interfaces |
3-D Dry | Mono 3-D buffer | DSBCAPS_CTRL3D DSBCAPS_CTRLFX DSBCAPS_CTRLVOLUME DSBCAPS_GLOBALFOCUS DSBCAPS_MUTE3DATMAXDISTANCE |
IDirectSound3DBuffer8 |
Mono | Mono buffer with no effects | DSBCAPS_CTRLFX DSBCAPS_CTRLPAN DSBCAPS_CTRLVOLUME DSBCAPS_GLOBALFOCUS |
None. |
Reverb | Stereo buffer with music reverberation effect | DSBCAPS_CTRLFX DSBCAPS_CTRLPAN DSBCAPS_CTRLVOLUME DSBCAPS_GLOBALFOCUS |
IDirectSoundFXWavesReverb8 |
Stereo | Stereo buffer with no effects | DSBCAPS_CTRLFX DSBCAPS_CTRLPAN DSBCAPS_CTRLVOLUME DSBCAPS_GLOBALFOCUS |
None. |
More information about the standard audiopaths is available in the following topics: