Platform SDK: DirectX

DirectSound3DListener.GetPosition

The DirectSound3DListener.GetPosition method retrieves the listener's position in 3-D space.

object.GetPosition(position As D3DVECTOR)

Parameters

object
Object expression that resolves to a DirectSound3DListener object.
position
D3DVECTOR type that receives the listener's position vector.

Error Codes

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

See Also

DirectSound3DListener.SetPosition