Login  Register

Re: Initialising Joal

Posted by Xerxes Rånby on Apr 07, 2014; 10:23am
URL: https://forum.jogamp.org/Initialising-Joal-tp4032105p4032106.html

please elaborate why the way gluegen loads the joal and openal-soft natives do not work for your usecase, it is flexible and should fit all deployment usecases we know of.
http://jogamp.org/wiki/index.php/JogAmp_JAR_File_Handling

joal require that an openal implementation exist on the platform, for platforms that do not have system openal drivers we provide openal-soft





2014-04-07 11:16 GMT+02:00 TheLittleP [via jogamp] <[hidden email]>:
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



If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Initialising-Joal-tp4032105.html
To start a new topic under joal, email [hidden email]
To unsubscribe from jogamp, click here.
NAML