diff options
author | kbr <[email protected]> | 2006-01-10 11:07:30 +0000 |
---|---|---|
committer | kbr <[email protected]> | 2006-01-10 11:07:30 +0000 |
commit | 1a0b7c61155813ac0bf3c6d58b4dac15f0225101 (patch) | |
tree | e3b573ca2193ae8a6aacd5bc5cb3060321308ba7 /unit_tests/src/Sound3DTest.java | |
parent | 0badf374064da5c608dcb06ef2d2e9966792ddc8 (diff) |
Merged gluegen-branch-1-0 on to the main JOAL trunk. JOAL is now built
using GlueGen and currently requires a built JOGL workspace as a
sibling workspace of the JOAL workspace.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@101 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'unit_tests/src/Sound3DTest.java')
-rw-r--r-- | unit_tests/src/Sound3DTest.java | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/unit_tests/src/Sound3DTest.java b/unit_tests/src/Sound3DTest.java index ffaefb0..f6a65a3 100644 --- a/unit_tests/src/Sound3DTest.java +++ b/unit_tests/src/Sound3DTest.java @@ -18,7 +18,7 @@ * This software is provided "AS IS," without a warranty of any kind. * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR -* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS +* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS * LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A * RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. * IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT @@ -30,16 +30,10 @@ * You acknowledge that this software is not designed or intended for use in the * design, construction, operation or maintenance of any nuclear facility. */ -import java.io.IOException; - -import javax.sound.sampled.UnsupportedAudioFileException; - -import net.java.games.sound3d.AudioSystem3D; -import net.java.games.sound3d.Context; -import net.java.games.sound3d.Device; -import net.java.games.sound3d.Listener; -import net.java.games.sound3d.Sound3DException; -import net.java.games.sound3d.Source; +import java.io.*; +import javax.sound.sampled.*; +import net.java.games.joal.*; +import net.java.games.sound3d.*; /** * @author Athomas Goldberg @@ -56,7 +50,7 @@ public class Sound3DTest { public static void main(String[] args) { try { AudioSystem3D.init(); - } catch (Sound3DException e) { + } catch (ALException e) { e.printStackTrace(); return; } |