aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorgregorypierce <[email protected]>2003-11-23 07:26:52 +0000
committergregorypierce <[email protected]>2003-11-23 07:26:52 +0000
commit4e79a05761d181d3599dde625501a5279d326e00 (patch)
tree239c3313da038f221bc26652109ad1a35be13e2f /src/java
parent0564bb98b612a61b4c296179c132dd24d5d450a8 (diff)
Issue number:
Obtained from: Submitted by: Gregory Pierce Reviewed by: git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@72 03bf7f67-59de-4072-a415-9a990d468a3f
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;
}