This method of the DirectSound3dListener Class retrieves the listener's current velocity.
public void getVelocity(D3dVector velocity);
velocity | The D3dVector that will contain the listener's current velocity. |
Velocity is used only for Doppler effects. It does not actually move the listener. To change the listener's position, use the setPosition method. The default velocity is (0,0,0).