From 05d236515d37561a66b1e239984916e95a193cc8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 17 Jun 2014 01:37:26 +0200 Subject: Adapt to GlueGen commit c3054a01990e55ab35756ea23ab7d7c05f24dd37 (compount call-by-value extension) --- .../jogamp/openal/ALDynamicLibraryBundleInfo.java | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/java/jogamp/openal') diff --git a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java index efb88d1..0859be1 100644 --- a/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java +++ b/src/java/jogamp/openal/ALDynamicLibraryBundleInfo.java @@ -3,14 +3,14 @@ * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY JogAmp Community ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JogAmp Community OR @@ -20,12 +20,12 @@ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * * The views and conclusions contained in the software and documentation are those of the * authors and should not be interpreted as representing official policies, either expressed * or implied, of JogAmp Community. */ - + package jogamp.openal; import com.jogamp.common.jvm.JNILibLoaderBase; @@ -46,7 +46,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf AccessController.doPrivileged(new PrivilegedAction() { public Object run() { Platform.initSingleton(); - + if(TempJarCache.isInitialized()) { // only: joal.jar -> joal-natives-.jar JNILibLoaderBase.addNativeJarLibs(new Class[] { ALDynamicLibraryBundleInfo.class }, null, null ); @@ -54,7 +54,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf return null; } }); - + glueLibNames = new ArrayList(); glueLibNames.add("joal"); } @@ -62,7 +62,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf protected ALDynamicLibraryBundleInfo() { } - /** + /** *

* Returns true, * since we might load the library and allow symbol access to subsequent libs. @@ -75,11 +75,11 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf * {@inheritDoc} *

* Returns false. - *

+ *

*/ @Override public final boolean shallLookupGlobal() { return false; } - + @Override public final List getGlueLibNames() { return glueLibNames; @@ -95,7 +95,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf alSystemLibNames.add("libopenal.so.1"); // unix alSystemLibNames.add("OpenAL32"); // windows alSystemLibNames.add("OpenAL"); // OSX - + // try this one as well, if spec fails alSystemLibNames.add("libOpenAL.so.1"); alSystemLibNames.add("libopenal.so"); @@ -107,11 +107,11 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf alSoftLibNames.add("soft_oal"); // These names are in use by the bundled OpenAL-soft alSoftLibNames.add("openal"); - alSoftLibNames.add("OpenAL"); + alSoftLibNames.add("OpenAL"); } final List alLibNames = new ArrayList(); - + if( ALFactory.PREFER_SYSTEM_OPENAL ) { // First test the System OpenAL alLibNames.addAll(alSystemLibNames); @@ -121,7 +121,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf } else { // First test use of the bundled OpenAL-soft alLibNames.addAll(alSoftLibNames); - + // Then try the System OpenAL alLibNames.addAll(alSystemLibNames); } @@ -155,7 +155,7 @@ public final class ALDynamicLibraryBundleInfo implements DynamicLibraryBundleInf @Override public final RunnableExecutor getLibLoaderExecutor() { return DynamicLibraryBundle.getDefaultRunnableExecutor(); - } + } } -- cgit v1.2.3