diff options
Diffstat (limited to 'unit_tests/src')
-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) { |