diff options
author | kbr <[email protected]> | 2006-08-27 03:52:08 +0000 |
---|---|---|
committer | kbr <[email protected]> | 2006-08-27 03:52:08 +0000 |
commit | ab1d8906991beca3829f2a26ef1e12b0e3f5ee6b (patch) | |
tree | c8a70d2cd195a9db763e2a56860c85475459a152 /make/joal-alc.cfg | |
parent | bdf7b44a36265373606da7556d85dfb9c47dcfdd (diff) |
Changed NativeLibrary.open() to accept boolean argument indicating
whether to search the system path first; perhaps useful if
applications ship only a backup version of native libraries associated
with a particular Java binding. In the case of JOAL we plan to ship a
recent OpenAL implementation so we will not need to search the system
path first. Changed ForceProcAddressGen directive to force
call-through-function-pointer semantics for the targeted function.
Changed JOAL to not link directly against the OpenAL library at all,
but instead to look up all entry points using the GlueGen
NativeLibrary class (instead of the custom dlsym code, now removed) in
particular to solve DSO versioning problems on Linux. Updated EAX
binding to work with dynamically loading OpenAL. Tested on Windows so
far; more testing needed on Linux in Java Web Start scenarios.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@269 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'make/joal-alc.cfg')
-rwxr-xr-x | make/joal-alc.cfg | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/make/joal-alc.cfg b/make/joal-alc.cfg index 5425fec..8bb623c 100755 --- a/make/joal-alc.cfg +++ b/make/joal-alc.cfg @@ -56,14 +56,9 @@ ReturnValueCapacity alcGetCurrentContext 0 ReturnValueCapacity alcGetCurrentDevice 0 ReturnValueCapacity alcOpenDevice 0 -# These routines need to be statically linked for bootstrapping -SkipProcAddressGen alcOpenDevice -SkipProcAddressGen alcCreateContext -SkipProcAddressGen alcMakeContextCurrent - -# Need an epilogue on alcOpenDevice and alcMakeContextCurrent to set -# up the proc address tables the first time -JavaEpilogue alcOpenDevice ALProcAddressLookup.resetALCProcAddressTable(); +# Need a prologue on alcOpenDevice and epilogue on alcMakeContextCurrent +# to set up the proc address tables the first time +JavaPrologue alcOpenDevice ALProcAddressLookup.resetALCProcAddressTable(); JavaEpilogue alcMakeContextCurrent ALProcAddressLookup.resetALProcAddressTable(); # To be able to use alcGetString before a context is created we need |