From b0c39f3f4259cf6eca8e1f7af0f0924cf7472abe Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 13 Dec 2010 07:30:20 +0100 Subject: Bring back JOAL (code fixes and project structure) - Use GlueGen DynamicLibraryBundle - Fix alGetString - Proper test/junit structure - NB project fix - add artifacts.properties and jar's manifest - proper ZIP file structure TODO: - check on windows and osx - actually hear a sound - add jnlp file template - joal-demos --- src/java/com/jogamp/openal/ALFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/java/com/jogamp/openal/ALFactory.java') diff --git a/src/java/com/jogamp/openal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java index f58fe4b..64da325 100644 --- a/src/java/com/jogamp/openal/ALFactory.java +++ b/src/java/com/jogamp/openal/ALFactory.java @@ -53,7 +53,9 @@ public class ALFactory { private static synchronized void initialize() throws ALException { try { if (!initialized) { - NativeLibLoader.load(); + if(null == ALImpl.getALProcAddressTable()) { + throw new RuntimeException("AL not initialized (ProcAddressTable null)"); + } initialized = true; } } catch (UnsatisfiedLinkError e) { -- cgit v1.2.3