From: Brian M. <ma...@us...> - 2002-08-28 14:17:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/test In directory usw-pr-cvs1:/tmp/cvs-serv22616/org/lwjgl/openal/test Modified Files: ALTest.java Log Message: add: more tests Index: ALTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/openal/test/ALTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/test/ALTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ALTest.java 28 Aug 2002 01:19:59 -0000 1.1 +++ ALTest.java 28 Aug 2002 14:17:06 -0000 1.2 @@ -504,18 +504,18 @@ do { System.out.print("\n\n\nAutomated Test Series:\n\n"); - System.out.print("A) Run Fully Automated Tests\n"); - System.out.print("B) Run Semi-Automated Tests\n"); + System.out.print("*A) Run Fully Automated Tests\n"); + System.out.print("*B) Run Semi-Automated Tests\n"); System.out.print("\nInteractive Tests:\n\n"); System.out.print("1 Position Test\n"); System.out.print("2 Looping Test\n"); - System.out.print("3 EAX 2.0 Test\n"); [...1085 lines suppressed...] + if ((error = al.getError()) != AL.NO_ERROR) + displayALError("alSourcePlay : ", error); + + // Delay a little + delay_ms(100); + } + break; + case '2': + al.sourceStopv(numSources, Sources); + if ((error = al.getError()) != AL.NO_ERROR) + displayALError("alSourceStopv : ", error); + break; + } + } while (ch != 'Q'); + + // Delete the Sources + al.deleteSources(numSources, Sources); } /** |