aboutsummaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-07-09 16:05:04 +0200
committerSven Gothel <sgothel@jausoft.com>2023-07-09 16:05:04 +0200
commit84be97857a080194de8de147552c2adb295bb402 (patch)
tree28b0b91aa01d1378e15ce4f8aa645dcce4de023d /make/config
parent38d03bf5056f7938afcac584bc4321eca49076a1 (diff)
Add OpenAL extension AL_SOFT_events using userParam ALCcontext as key for GlueGen JavaCallback
https://openal-soft.org/openal-extensions/SOFT_events.txt
Diffstat (limited to 'make/config')
-rw-r--r--make/config/joal-alext.cfg4
-rw-r--r--[-rwxr-xr-x]make/config/joal.cfg3
2 files changed, 7 insertions, 0 deletions
diff --git a/make/config/joal-alext.cfg b/make/config/joal-alext.cfg
index da63612..39bc50e 100644
--- a/make/config/joal-alext.cfg
+++ b/make/config/joal-alext.cfg
@@ -27,6 +27,10 @@ ForceProcAddressGen __ALL__
# pointer typedefs for these routines to AL_APIENTRY
LocalProcAddressCallingConvention __ALL__ AL_APIENTRY
+ArgumentIsPascalString ALEVENTPROCSOFT 3 4
+JavaCallbackDef alEventCallbackSOFT 1 ALEVENTPROCSOFT 5 com.jogamp.openal.ALContextKey
+JavaCallbackKey alEventCallbackSOFT 1 ALEVENTPROCSOFT 5
+
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*
diff --git a/make/config/joal.cfg b/make/config/joal.cfg
index 050c000..f553e9a 100755..100644
--- a/make/config/joal.cfg
+++ b/make/config/joal.cfg
@@ -21,6 +21,9 @@ ForceProcAddressGen __ALL__
# pointer typedefs for these routines to AL_APIENTRY
LocalProcAddressCallingConvention __ALL__ AL_APIENTRY
+# JavaCallback requires `JNI_OnLoad*(..)` and `JVMUtil_GetJNIEnv(..)`
+LibraryOnLoad joal
+
Import com.jogamp.openal.*
Import jogamp.openal.*
Import java.security.AccessController