From: Brian M. <ma...@us...> - 2002-11-21 22:38:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal In directory sc8-pr-cvs1:/tmp/cvs-serv27895/src/java/org/lwjgl/test/openal Modified Files: ALTest.java Log Message: fix: removed unneeded import fix: removed getSource3f reference Index: ALTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/ALTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/ALTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ALTest.java 19 Nov 2002 16:48:25 -0000 1.1 +++ ALTest.java 21 Nov 2002 22:38:07 -0000 1.2 @@ -35,7 +35,6 @@ import org.lwjgl.openal.ALC; import org.lwjgl.openal.ALCcontext; import org.lwjgl.openal.ALCdevice; -import org.lwjgl.openal.ALUT; import org.lwjgl.openal.ALUTLoadWAVData; import org.lwjgl.openal.eax.EAX; import org.lwjgl.openal.eax.EAXBufferProperties; @@ -1195,10 +1194,6 @@ CRToContinue(); al.sourcei(testSources.get(0), AL.LOOPING, AL.TRUE); al.source3f(testSources.get(0), AL.POSITION, 0.0f, 0.0f, -100.0f); - al.getSource3f(testSources.get(0), AL.POSITION, Sys.getDirectBufferAddress(tempFVect), Sys.getDirectBufferAddress(tempFVect) + 4, Sys.getDirectBufferAddress(tempFVect) + 8); - if ((tempFVect.get(0) != 0.0f) || (tempFVect.get(1) != 0.0f) || (tempFVect.get(2) != -100.0f)) { - System.out.print("ERROR: alGetSource3f(..., AL_POSITION, ...).\n"); - } al.getSourcefv(testSources.get(0), AL.POSITION, Sys.getDirectBufferAddress(tempFVect)); if ((tempFVect.get(0) != 0.0f) || (tempFVect.get(1) != 0.0f) || (tempFVect.get(2) != -100.0f)) { System.out.print("ERROR: alGetSourcefv(..., AL_POSITION, ...).\n"); |