Microsoft SDK for Java

DirectSound3dListener Class Methods

The DirectSound3dListener Class contains the following methods:

commitDeferredSettings commits any deferred settings made since the last call to this method.
getAllParameters retrieves information that describes the current state of the 3D world and listener.
getDistanceFactor retrieves the current distance factor.
getDopplerFactor retrieves the current Doppler effect factor.
getOrientation retrieves the listener's current orientation in vectors: a front vector and a top vector.
getPosition retrieves the listener's current position in distance units.
getRolloffFactor retrieves the current rolloff factor.
getVelocity retrieves the listener's current velocity.
setAllParameters sets all 3D listener parameters from a given DS3dListener class that describes all aspects of the 3D listener at a moment in time.
setDistanceFactor sets the current distance factor.
setDopplerFactor sets the current Doppler effect factor.
setOrientation sets the listeners orientation, given a front vector and a top vector.
setPosition retrieves the listener's current position in distance units.
setRolloffFactor sets the rolloff factor.
setVelocity sets the listener's velocity.

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