Microsoft DirectX 9.0

Batch Parameters for 3-D Buffers

Applications can retrieve or set a 3-D sound buffer's parameters individually or in batches. If the sound source is moving, you might want to set multiple parameters such as position, orientation, and velocity all at once. You can do so by calling IDirectSound3DBuffer8::GetAllParameters to retrieve the current parameters, changing the appropriate parameters in the DS3DBUFFER structure, and passing the structure back to IDirectSound3DBuffer8::SetAllParameters.

Parameter changes can also be made more efficiently by flagging them as deferred and then executing them all at once. For more information, see Deferred Settings.