Microsoft DirectX 9.0 |
Applications can retrieve or set a 3-D listener object's parameters individually or in batches. If the listener is moving, you might want to set multiple parameters such as position, orientation, and velocity all at once. You can do so by calling IDirectSound3DListener8::GetAllParameters to retrieve the current parameters, changing the appropriate parameters in the DS3DLISTENER structure, and passing the structure back to IDirectSound3DListener8::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.