diff options
author | athomas <[email protected]> | 2003-11-23 06:10:06 +0000 |
---|---|---|
committer | athomas <[email protected]> | 2003-11-23 06:10:06 +0000 |
commit | 055300de52a4e36d40709729396810c4bda7fb58 (patch) | |
tree | 8128eb65bc9627c2567646dba55a91b4fae0eb0f /unit_tests | |
parent | 958b4a62bbfa639ad27756037049c9db3e7d3bf2 (diff) |
updated the tests
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@70 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'unit_tests')
-rw-r--r-- | unit_tests/src/OpenALTest.java | 2 | ||||
-rw-r--r-- | unit_tests/src/Sound3DTest.java | 2 | ||||
-rw-r--r-- | unit_tests/src/net/java/games/joal/ALTest.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/unit_tests/src/OpenALTest.java b/unit_tests/src/OpenALTest.java index 37a982d..12745fe 100644 --- a/unit_tests/src/OpenALTest.java +++ b/unit_tests/src/OpenALTest.java @@ -52,7 +52,7 @@ public class OpenALTest { ALFactory.initialize(); ALC alc = ALFactory.getALC(); - ALC.Device device = alc.alcOpenDevice("DirectSound3D"); + ALC.Device device = alc.alcOpenDevice(null); ALC.Context context = alc.alcCreateContext(device, null); alc.alcMakeContextCurrent(context); AL al = ALFactory.getAL(); diff --git a/unit_tests/src/Sound3DTest.java b/unit_tests/src/Sound3DTest.java index 7adbc50..ffaefb0 100644 --- a/unit_tests/src/Sound3DTest.java +++ b/unit_tests/src/Sound3DTest.java @@ -62,7 +62,7 @@ public class Sound3DTest { } // create the initial context - this can be collapsed into the init. - Device device = AudioSystem3D.openDevice("DirectSound3D"); + Device device = AudioSystem3D.openDevice(null); Context context = AudioSystem3D.createContext(device); AudioSystem3D.makeContextCurrent(context); diff --git a/unit_tests/src/net/java/games/joal/ALTest.java b/unit_tests/src/net/java/games/joal/ALTest.java index 51bdf87..9556a87 100644 --- a/unit_tests/src/net/java/games/joal/ALTest.java +++ b/unit_tests/src/net/java/games/joal/ALTest.java @@ -40,7 +40,7 @@ public class ALTest extends TestCase { ALFactory.initialize(); al = ALFactory.getAL(); alc = ALFactory.getALC(); - device = alc.alcOpenDevice("DirectSound3D"); + device = alc.alcOpenDevice(null); context = alc.alcCreateContext(device, null); alc.alcMakeContextCurrent(context); } catch (OpenALException e) { |