This method of the DirectSound3dBuffer Class sets the current maximum distance value.
public void setMaxDistance(float maxDistance, int applyFlag);
maxDistance | New maximum distance value. |
applyFlag | Value indicating when the setting should be applied. This value must be one of the following: |
The maximum distance value is infinite by default.