Microsoft SDK for Java

setMaxDistance

This method of the DirectSound3dBuffer Class sets the current maximum distance value.

Syntax

public void setMaxDistance(float maxDistance, int applyFlag);

Parameters

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

DS3D_DEFERRED
DS3D_IMMEDIATE


Remarks

The maximum distance value is infinite by default.

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