|
From: Elias N. <eli...@us...> - 2004-03-27 12:06:17
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6869/src/java/org/lwjgl/openal Modified Files: AL10.java Log Message: Replaced asserts with proper runtime exceptions Index: AL10.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL10.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- AL10.java 9 Mar 2004 11:03:08 -0000 1.2 +++ AL10.java 27 Mar 2004 11:55:06 -0000 1.3 @@ -44,321 +44,321 @@ * @version $Revision$ */ public final class AL10 { - - /** Bad value */ - public static final int AL_INVALID = -1; + + /** Bad value */ + public static final int AL_INVALID = -1; - /** Disable value */ [...1756 lines suppressed...] + * abs(vs) is greater or equal VD. + * </p> + * <p> + * There are two API calls global to the current context that provide control of the two + * related parameters. + * </p> + * <p> + * AL_DOPPLER_VELOCITY allows the application to change the reference (propagation) + * velocity used in the Doppler Effect calculation. This permits the application to use a + * velocity scale appropriate to its purposes. + * </p> + * <p> + * A negative or zero value will result in an AL_INVALID_VALUE error, the command is + * then ignored. The default value is 1. The current setting can be queried using + * GetFloatv and AL_DOPPLER_VELOCITY. + * </p> + * * @param value Doppler velocity value to set */ public static native void alDopplerVelocity(float value); |