Login  Register

Initialising Joal

Posted by TheLittleP on Apr 07, 2014; 9:16am
URL: https://forum.jogamp.org/Initialising-Joal-tp4032105.html

Hi,

Due to the nature of the implementation I am required to work with I have to load all the natives manually.

I have written a hook into gluegen and jogamp and load the correct natives and it works a treat.

However, joal seems to be a little more stubborn. I have tried manually loading the natives for joal after gluegen and jogl but before AudioSystem3D.init(); However, I get the following error...

 com.jogamp.openal.ALException: java.lang.ExceptionInInitializerError
  com.jogamp.openal.ALFactory.initialize(101)
   com.jogamp.openal.ALFactory.getAL(122)
    com.jogamp.openal.sound3d.AudioSystem3D.init(66)

I am wondering if anyone knows the best, or correct, way to load the natives manually for joal.
Many Thanks
P