Microsoft SDK for Java

setMinDistance

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

Syntax

public void setMinDistance(float minDistance, int applyFlag);

Parameters

minDistance New minimum 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 minimum distance value is 1.0 (corresponding to 1.0 meter at the default distance factor of 1.0 m per unit) by default.

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