Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the sound buffer's position, in distance units.
object.GetPosition(position As D3DVECTOR)
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
By default, distance units are meters, but you can change the units by using the DirectSound3DListener8.SetDistanceFactor method.