Platform SDK: DirectX

Batch Parameters for DirectSound3DBuffer

[C++]

Applications can retrieve or set a 3-D sound buffer's parameters individually or in batches. To set individual values, your application can use the applicable IDirectSound3DBuffer interface method. However, applications often must set or retrieve all the values at once. You can do this with the IDirectSound3DBuffer::GetAllParameters and IDirectSound3DBuffer::SetAllParameters methods.

[Visual Basic]

Applications can retrieve or set a 3-D sound buffer's parameters individually or in batches. To set individual values, your application can use the applicable DirectSound3DBuffer object method. However, applications often must set or retrieve all the values at once. You can do this with the DirectSound3DBuffer.GetAllParameters and DirectSound3DBuffer.SetAllParameters methods.

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.