This method of the DirectSound3dListener Class retrieves the listener's current position in distance units. By default, these units are meters, but this can be changed by calling the DirectSound3dListener.setDistanceFactor method.
public void setPosition(float x, float y, float z, int applyFlag);
y | The x component of the vector that will contain the listener's position. |
y | The y component of the vector that will contain the listener's position. |
z | The z component of the vector that will contain the listener's position. |
applyFlag | Flag values. |