Microsoft SDK for Java

getVelocity

This method of the DirectSound3dBuffer Class retrieves the current velocity for this sound buffer.

Syntax

public void getVelocity(D3dVector velocity);

Parameters

velocity The D3dVector that will contain the sound buffer's current velocity.

Remarks

Velocity is used for Doppler effects only. It does not actually move the buffer.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.