Platform SDK: DirectX

DirectSound3DListener.SetAllParameters

The DirectSound3DListener.SetAllParameters method sets all the properties of a 3-D listener and global sound parameters.

object.SetAllParameters(listener As DS3DLISTENER, _
    applyFlag As CONST_DS3DAPPLYFLAGS)

Parameters

object
Object expression that resolves to a DirectSound3DListener object.
listener
DS3DLISTENER type that contains information describing all 3-D listener parameters.
applyFlag
Value that indicates when the setting should be applied. This value must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.

See Also

DirectSound3DListener.GetAllParameters