Microsoft SDK for Java

getDopplerFactor

This method of the DirectSound3dListener Class retrieves the current Doppler effect factor.

Syntax

public void getDopplerFactor(float[] dopplerFactor);

Parameters

dopplerFactor The array that will contain the current Doppler factor values.

Remarks

This Doppler factor has a range of 0 (no Doppler effects) to 10.0 (10 times the Doppler effects found in the physical world). The default value is DS3D_DEFAULTDOPPLERFACTOR (1.0).

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