aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/joal-alext.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/joal-alext.cfg')
-rw-r--r--make/config/joal-alext.cfg32
1 files changed, 31 insertions, 1 deletions
diff --git a/make/config/joal-alext.cfg b/make/config/joal-alext.cfg
index 2d3116d..bfc878a 100644
--- a/make/config/joal-alext.cfg
+++ b/make/config/joal-alext.cfg
@@ -27,13 +27,43 @@ ForceProcAddressGen __ALL__
# pointer typedefs for these routines to AL_APIENTRY
LocalProcAddressCallingConvention __ALL__ AL_APIENTRY
+# typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param,
+# ALsizei length, const ALchar *message, void *userParam);
+# AL_API void AL_APIENTRY alEventCallbackSOFT(ALEVENTPROCSOFT callback, void *userParam);
ArgumentIsPascalString ALEVENTPROCSOFT 3 4
JavaCallbackDef alEventCallbackSOFT 1 ALEVENTPROCSOFT 5 ALCcontext ALContextKey
JavaCallbackKey alEventCallbackSOFT 1 ALEVENTPROCSOFT 5
+# typedef ALsizei (AL_APIENTRY*ALBUFFERCALLBACKTYPESOFT)(ALvoid *userptr, ALvoid *sampledata, ALsizei numbytes);
+# AL_API void AL_APIENTRY alBufferCallbackSOFT(ALuint buffer, ALenum format, ALsizei freq, ALBUFFERCALLBACKTYPESOFT callback, ALvoid *userptr);
JavaCallbackDef alBufferCallbackSOFT 4 ALBUFFERCALLBACKTYPESOFT 0 ALCcontext ALContextKey
JavaCallbackKey alBufferCallbackSOFT 4 ALBUFFERCALLBACKTYPESOFT 0
+# typedef void (ALC_APIENTRY*ALCEVENTPROCTYPESOFT)(ALCenum eventType, ALCenum deviceType,
+# ALCdevice *device, ALCsizei length, const ALCchar *message, void *userParam);
+# void ALC_APIENTRY alcEventCallbackSOFT(ALCEVENTPROCTYPESOFT callback, void *userParam);
+ArgumentIsPascalString ALCEVENTPROCTYPESOFT 3 4
+JavaCallbackDef alcEventCallbackSOFT 1 ALCEVENTPROCTYPESOFT 5 ALCcontext ALContextKey
+JavaCallbackKey alcEventCallbackSOFT 1 ALCEVENTPROCTYPESOFT 5
+
+# typedef void (AL_APIENTRY*ALDEBUGPROCEXT)(ALenum source, ALenum type, ALuint id, ALenum severity, ALsizei length, const ALchar *message, void *userParam);
+# void AL_APIENTRY alDebugMessageCallbackEXT(ALDEBUGPROCEXT callback, void *userParam);
+# void AL_APIENTRY alDebugMessageInsertEXT(ALenum source, ALenum type, ALuint id, ALenum severity, ALsizei length, const ALchar *message);
+# void AL_APIENTRY alDebugMessageControlEXT(ALenum source, ALenum type, ALenum severity, ALsizei count, const ALuint *ids, ALboolean enable);
+# void AL_APIENTRY alPushDebugGroupEXT(ALenum source, ALuint id, ALsizei length, const ALchar *message);
+# void AL_APIENTRY alPopDebugGroupEXT(void);
+# ALuint AL_APIENTRY alGetDebugMessageLogEXT(ALuint count, ALsizei logBufSize, ALenum *sources, ALenum *types, ALuint *ids, ALenum *severities, ALsizei *lengths, ALchar *logBuf);
+# void AL_APIENTRY alObjectLabelEXT(ALenum identifier, ALuint name, ALsizei length, const ALchar *label);
+# void AL_APIENTRY alGetObjectLabelEXT(ALenum identifier, ALuint name, ALsizei bufSize, ALsizei *length, ALchar *label);
+ArgumentIsPascalString ALDEBUGPROCEXT 4 5
+JavaCallbackDef alDebugMessageCallbackEXT 1 ALDEBUGPROCEXT 6 ALCcontext ALContextKey
+JavaCallbackKey alDebugMessageCallbackEXT 1 ALDEBUGPROCEXT 6
+ArgumentIsPascalString alDebugMessageInsertEXT 4 5
+ArgumentIsPascalString alPushDebugGroupEXT 2 3
+# ArgumentIsPascalString alGetDebugMessageLogEXT 6 7 # FIXME???
+ArgumentIsPascalString alObjectLabelEXT 2 3
+# ArgumentIsPascalString alGetObjectLabelEXT 3 4 # FIXME???
+
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*
@@ -63,4 +93,4 @@ IncludeAs CustomCCode joal-common-CustomCCode.c
ReturnsString alcGetStringiSOFT
ReturnsString alGetStringiSOFT
-ArgumentIsString alcReopenDeviceSOFT 1 \ No newline at end of file
+ArgumentIsString alcReopenDeviceSOFT 1