Microsoft SDK for Java

setDistanceFactor

This method of the DirectSound3dListener Class sets the current distance factor.

Syntax

public void setDistanceFactor(float distanceFactor, int applyFlag);

Parameters

distanceFactor New distance factor.
applyFlag Value indicating when the setting should be applied. This value must be one of the following:

DS3D_DEFERRED
DS3D_IMMEDIATE


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