From: Elias N. <eli...@us...> - 2005-06-29 07:39:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24153/src/java/org/lwjgl/openal Modified Files: AL10.java Log Message: Mac OS X: Handle MouseEvent.NOBUTTON case Index: AL10.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL10.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- AL10.java 5 May 2005 10:02:36 -0000 1.15 +++ AL10.java 29 Jun 2005 07:39:18 -0000 1.16 @@ -8,310 +8,310 @@ public final class AL10 { /** - *Distance model + *Bad value */ - public static final int AL_INVERSE_DISTANCE_CLAMPED = 0xd002; + public static final int AL_INVALID = 0xffffffff; /** - *Distance model + *Disable value [...2127 lines suppressed...] + * 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 void alEnable(int capability) { - nalEnable(capability); + public static void alDopplerVelocity(float value) { + nalDopplerVelocity(value); Util.checkALError(); } - private static native void nalEnable(int capability); + private static native void nalDopplerVelocity(float value); } |