This method of the DirectSound3dListener Class sets the rolloff factor.
public void setRolloffFactor(float rolloffFactor, int applyFlag);
rolloffFactor | New rolloff factor. |
applyFlag | Value indicating when the setting should be applied. This value must be one of the following: |
The default value is DS3D_DEFAULTROLLOFFFACTOR (1.0). For additional information about the rolloff factor, see Rolloff Factor.