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