Microsoft SDK for Java

setConeAngles

This method of the DirectSound3dBuffer Class sets the inside and outside angles of the sound projection cone for this sound buffer.

Syntax

public void setConeAngles(int inCone, int outCone, int applyFlag);

Parameters

inCone Inside angle of the sound projection cone.
outCone Outside angle of the sound projection cone.
applyFlag Value indicating when the setting should be applied. This value must be one of the following:

DS3D_DEFERRED
DS3D_IMMEDIATE


Remarks

Each angle must be in the range of 0 degrees (no cone) to 360 degrees (the full sphere). The default value is 360. For additional information see, Sound Projection Cones.

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