aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jake2/sound/S.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/jake2/sound/S.java b/src/jake2/sound/S.java
index 90b178c..515635d 100644
--- a/src/jake2/sound/S.java
+++ b/src/jake2/sound/S.java
@@ -64,7 +64,14 @@ public class S {
// ignore the lwjgl driver if runtime not in classpath
Com.DPrintf("could not init lwjgl sound driver class.");
}
-
+
+ try {
+ Class.forName("jake2.sound.jsound.JSoundImpl");
+ } catch (Throwable e) {
+ // ignore the jsound driver if runtime not in classpath
+ Com.DPrintf("could not init jsound sound driver class.");
+ }
+
// prefered driver
try {
Class.forName("com.jogamp.openal.AL");
@@ -234,4 +241,4 @@ public class S {
{
return 44100;
}
-} \ No newline at end of file
+}