Microsoft SDK for Java

getPosition

This method of the DirectSound3dBuffer Class retrieves the sound buffer's current position, in distance units. Distance units are meters by default, but the units can be changed by using the setDistanceFactor method.

Syntax

public void getPosition(D3dVector position);

Parameters

position The D3dVector that will contain the current position of the sound buffer.

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