diff options
author | Sven Gothel <[email protected]> | 2010-12-13 07:30:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-13 07:30:20 +0100 |
commit | b0c39f3f4259cf6eca8e1f7af0f0924cf7472abe (patch) | |
tree | 613781a5703e2052c21b1c35242c3d948bebcf72 /make/joal-alcabstract-CustomJavaCode.java | |
parent | a68be2859454b75539cc5e44eb23129745932db3 (diff) |
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
Diffstat (limited to 'make/joal-alcabstract-CustomJavaCode.java')
-rwxr-xr-x | make/joal-alcabstract-CustomJavaCode.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/make/joal-alcabstract-CustomJavaCode.java b/make/joal-alcabstract-CustomJavaCode.java new file mode 100755 index 0000000..3420cc2 --- /dev/null +++ b/make/joal-alcabstract-CustomJavaCode.java @@ -0,0 +1,12 @@ +private static final ALCProcAddressTable alcProcAddressTable; + +static { + alcProcAddressTable = new ALCProcAddressTable(); + if(null==alcProcAddressTable) { + throw new RuntimeException("Couldn't instantiate ALCProcAddressTable"); + } + alcProcAddressTable.reset(ALImpl.alDynamicLookupHelper); +} + +public static ALCProcAddressTable getALCProcAddressTable() { return alcProcAddressTable; } + |