aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/net/java/games/joal/ALFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/net/java/games/joal/ALFactory.java b/src/java/net/java/games/joal/ALFactory.java
index 80d1cdb..ae9f906 100644
--- a/src/java/net/java/games/joal/ALFactory.java
+++ b/src/java/net/java/games/joal/ALFactory.java
@@ -45,7 +45,7 @@ public class ALFactory {
System.loadLibrary("joal");
}
- private static boolean isInitialized;
+ private static boolean isInitialized = false;
private static ALImpl al;
private static ALC alc;
@@ -62,7 +62,7 @@ public class ALFactory {
} else if(osProperty.startsWith("Linux")) {
isInitialized = init(new String[] { "libopenal.so" });
} else {
- // OSX
+ isInitialized = init(new String[] { "/Library/Frameworks/OpenAL.framework/Versions/Current/OpenAL"});
}
return isInitialized;
}