Listener Position and Velocity
An application can set and retrieve a listener's position in 3D space by using the IDirectSound3DListener::SetPosition and IDirectSound3DListener::GetPosition methods.
To set or retrieve the velocity value that DirectSound uses to calculate Doppler-shift effects for a listener, use the IDirectSound3DListener::SetVelocity and IDirectSound3DListener::GetVelocity methods. A listener's position is not affected by its velocity. For more information about the relationship between position and velocity, see Position Versus Velocity.