Microsoft SDK for Java

setRolloffFactor

This method of the DirectSound3dListener Class sets the rolloff factor.

Syntax

public void setRolloffFactor(float rolloffFactor, int applyFlag);

Parameters

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

DS3D_DEFERRED
DS3D_IMMEDIATE


Remarks

The default value is DS3D_DEFAULTROLLOFFFACTOR (1.0). For additional information about the rolloff factor, see Rolloff Factor.

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