*** empty log message ***
This commit is contained in:
parent
13edf0ce99
commit
bf2ff00518
|
@ -65,11 +65,6 @@ public abstract class BaseAL {
|
||||||
*/
|
*/
|
||||||
private static void initialize() {
|
private static void initialize() {
|
||||||
System.loadLibrary(org.lwjgl.Sys.getLibraryName());
|
System.loadLibrary(org.lwjgl.Sys.getLibraryName());
|
||||||
try {
|
|
||||||
System.loadLibrary("OpenAL32");
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.loadLibrary("openal");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -175,22 +175,6 @@ void* GetFunctionPointer(const char* function) {
|
||||||
*/
|
*/
|
||||||
void LoadOpenAL(JNIEnv *env, jobjectArray oalPaths) {
|
void LoadOpenAL(JNIEnv *env, jobjectArray oalPaths) {
|
||||||
|
|
||||||
/*
|
|
||||||
* CAS: Experimental new code for loading OpenAL. We're ignoring the paths
|
|
||||||
* and just trying to load it once.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
handleOAL = LoadLibrary("OpenAL32.dll");
|
|
||||||
#endif
|
|
||||||
#ifdef _X11
|
|
||||||
handleOAL = dlopen("libopenal.so", RTLD_LAZY);
|
|
||||||
#endif
|
|
||||||
#ifdef TARGET_OS_MAC
|
|
||||||
oalInitEntryPoints();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
jsize pathcount = env->GetArrayLength(oalPaths);
|
jsize pathcount = env->GetArrayLength(oalPaths);
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
printf("Found %d OpenAL paths\n", pathcount);
|
printf("Found %d OpenAL paths\n", pathcount);
|
||||||
|
@ -218,7 +202,7 @@ void LoadOpenAL(JNIEnv *env, jobjectArray oalPaths) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
env->ReleaseStringUTFChars(path, path_str);
|
env->ReleaseStringUTFChars(path, path_str);
|
||||||
*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue