|
From: Brian M. <ma...@us...> - 2003-06-17 21:22:19
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal In directory sc8-pr-cvs1:/tmp/cvs-serv23491 Modified Files: PlayTest.java MovingSoundTest.java Log Message: using default file on no argument (allows easier JWS interaction) Index: PlayTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/PlayTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/PlayTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- PlayTest.java 27 Apr 2003 18:37:38 -0000 1.5 +++ PlayTest.java 17 Jun 2003 21:22:16 -0000 1.6 @@ -59,8 +59,8 @@ */ protected void execute(String[] args) { if(args.length < 1) { - System.out.println("please specify filename to play"); - return; + System.out.println("no argument supplied, assuming Footsteps.wav"); + args = new String[] {"Footsteps.wav"}; } int lastError; Index: MovingSoundTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/MovingSoundTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/MovingSoundTest.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- MovingSoundTest.java 27 Apr 2003 18:37:38 -0000 1.9 +++ MovingSoundTest.java 17 Jun 2003 21:22:16 -0000 1.10 @@ -65,8 +65,8 @@ */ protected void execute(String[] args) { if (args.length < 1) { - System.out.println("please specify filename to play"); - return; + System.out.println("no argument supplied, assuming Footsteps.wav"); + args = new String[] {"Footsteps.wav"}; } try { |