DirectX SDK |
The DirectSound3DListener.GetPosition method retrieves the listener's current position in distance units. By default, these units are meters, but this can be changed by calling the DirectSound3DListener.SetDistanceFactor method.
object.GetPosition(position As D3DVECTOR)
If the method fails, an error is raised and Err.Number may be set to the value of DSERR_INVALIDPARAM.