Platform SDK: DirectX

DirectSound 3-D Buffers

[C++]

A 3-D sound buffer is created and managed like any other sound buffer, and all the methods of the IDirectSoundBuffer interface are available. However, in order to set 3-D parameters you need to obtain the IDirectSound3DBuffer interface for the buffer. This interface is supported only by sound buffers created with the DSBCAPS_CTRL3D flag.

This section describes how your applications can manage buffers with the IDirectSound3DBuffer interface methods. The following topics are discussed.

[Visual Basic]

Each sound source in a 3-D environment is represented by a DirectSound3DBuffer object that controls the 3-D properties of the DirectSoundBuffer from which it is obtained. The DirectSound3DBuffer object is obtainable only from a DirectSoundBuffer created with the DSBCAPS_CTRL3D flag.

This section describes how your applications can manage buffers with the DirectSound3DBuffer class methods. The following topics are discussed.