https://github.com/sgothel/joal/pull/8EFX Implementation:
Bug 567 Add support for openal extensions
The unittest for 567 still needs some polish.
and
Bug 662 Add a flag to favour OpenALSoft
This pull request switched JOAL to generate its implementation based on the OpenAL-Soft headers
this is a big change and i hope people can try this pull on various devices.
JOAL will now map all extensions from the C alext.h header to be found under
com.jogamp.openal.ALExtThis is an
API change, before some of the extensions was found under com.jogamp.openal.AL .
Please scream if we should still support the old API. Peek at this thread for an example of code that was working using the old API on some platforms:
http://forum.jogamp.org/alGenEffects-Not-Available-tp4027019p4028072.htmlThis change also removes all binary builds, binarys from OpenAL upstream and OpenAL-soft from Ubuntu, that we previously have bundled with JOAL.
You will need to have an openal-soft git next to the joal tree when compiling the joal source in order to build and bundle OpenAL-soft into the build.
This means that In the future JogAmp will only bundle OpenAL-soft builds that we have compiled ourself!
The introduced flag to favour OpenALSoft work like this:
if you add the propery -D
joal.SystemOpenAL then openal will try load OpenAL library names commonly used by system installed OpenAL before falling back to the bundled OpenAL-soft compiled by jogamp.
The default is to try load OpenAL-soft libopenal.so before looking for the OpenAL library names used by system installs of OpenAL libopenal.so.1 .
Merged