DirectSound3DBuffer8
Methods of the DirectSound3DBuffer8 class are used to set and retrieve the position, orientation, and other parameters of a sound buffer in 3-D space.
A DirectSound3DBuffer8 object is obtained by using the DirectSoundSecondaryBuffer8.GetDirectSound3DBuffer method on a secondary buffer created with 3-D capabilities. The object can also be obtained from an audiopath.
The DirectSound3DBuffer8 class has the following methods.
3-D mode
Method |
Description |
GetMode |
Retrieves the operation mode for 3-D sound processing. |
SetMode |
Sets the operation mode for 3-D sound processing. |
Batch parameters
Method |
Description |
GetAllParameters |
Retrieves information that describes the 3-D characteristics of a sound buffer at a given point in time. |
SetAllParameters |
Sets all 3-D sound buffer parameters. |
Minimum and maximum distance
Position
Method |
Description |
GetPosition |
Retrieves the sound buffer's position, in distance units. |
SetPosition |
Sets the sound buffer's position, in distance units. |
Sound projection cone
Method |
Description |
GetConeAngles |
Retrieves the inside and outside angles of the sound projection cone for this sound buffer. |
GetConeOrientation |
Retrieves the orientation of the sound projection cone for this sound buffer. |
GetConeOutsideVolume |
Retrieves the cone outside volume for this sound buffer. |
SetConeAngles |
Sets the inside and outside angles of the sound projection cone for this sound buffer. |
SetConeOrientation |
Sets the orientation of the sound projection cone for this sound buffer. |
SetConeOutsideVolume |
Sets the cone outside volume for this sound buffer. |
Velocity
Method |
Description |
GetVelocity |
Retrieves the velocity for this sound buffer. |
SetVelocity |
Sets the velocity of the sound source. |
Miscellaneous
Method |
Description |
GetDirectSoundBuffer |
Retrieves a DirectSoundSecondaryBuffer object from the 3-D buffer. |
See Also