aboutsummaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorMathieu Féry <[email protected]>2023-11-21 18:01:28 +0100
committerMathieu Féry <[email protected]>2023-11-22 14:37:56 +0100
commit02cc3395f950da98cd7e02a257b0669550be71d7 (patch)
treeafea70f1a09d360ee51cf5c6f6ff4f1d76874b22 /make/config
parent21079539c1f81bae9df328e6487e4d4d174b0b51 (diff)
feat(headers): Update al*.h and efx*.h to latest version of openal-soft embedded
eax.h is 'ignored' because usable reference header file are located inside submodule openal-soft/al/eax/api.h but this header contains many symbol not processed by Gluegen like constexpr and other c++ feature Following extensions has been added : * AL_EXT * AL_EXT_BFORMAT -> https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/AL%20Extensions/AL_EXT_BFORMAT.txt * AL_EXT_MULAW_BFORMAT -> https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/AL%20Extensions/AL_EXT_MULAW_BFORMAT.txt * AL_SOFT * AL_SOFT_deferred_updates -> https://openal-soft.org/openal-extensions/SOFT_deferred_updates.txt * AL_SOFT_block_alignment -> https://openal-soft.org/openal-extensions/SOFT_block_alignment.txt * AL_SOFT_MSADPCM -> https://openal-soft.org/openal-extensions/SOFT_MSADPCM.txt * AL_SOFT_source_length -> https://openal-soft.org/openal-extensions/SOFT_source_length.txt * AL_SOFT_buffer_length_query -> https://openal-soft.org/openal-extensions/SOFT_buffer_length_query.txt * AL_SOFT_gain_clamp_ex -> https://openal-soft.org/openal-extensions/SOFT_gain_clamp_ex.txt * AL_SOFT_source_resampler -> https://openal-soft.org/openal-extensions/SOFT_source_resampler.txt * AL_SOFT_source_spatialize -> https://openal-soft.org/openal-extensions/SOFT_source_spatialize.txt * AL_SOFT_direct_channels_remix -> https://openal-soft.org/openal-extensions/SOFT_direct_channels_remix.txt * AL_SOFT_bformat_ex -> https://openal-soft.org/openal-extensions/SOFT_bformat_ex.txt * AL_SOFT_effect_target -> https://openal-soft.org/openal-extensions/SOFT_effect_target.txt * AL_SOFT_callback_buffer -> https://openal-soft.org/openal-extensions/SOFT_callback_buffer.txt * AL_SOFT_UHJ -> https://openal-soft.org/openal-extensions/SOFT_UHJ.txt * AL_SOFT_UHJ_ex -> https://openal-soft.org/openal-extensions/SOFT_UHJ_ex.txt * AL_SOFT_source_start_delay -> https://openal-soft.org/openal-extensions/SOFT_source_start_delay.txt * ALC_EXT * ALC_EXT_DEFAULT_FILTER_ORDER -> https://github.com/Raulshc/OpenAL-EXT-Repository/blob/master/ALC%20Extensions/ALC_EXT_DEFAULT_FILTER_ORDER.txt * ALC_SOFT * ALC_SOFT_pause_device -> https://openal-soft.org/openal-extensions/SOFT_pause_device.txt * ALC_SOFT_HRTF -> https://openal-soft.org/openal-extensions/SOFT_HRTF.txt * ALC_SOFT_output_limiter -> https://openal-soft.org/openal-extensions/SOFT_output_limiter.txt * ALC_SOFT_device_clock -> https://openal-soft.org/openal-extensions/SOFT_device_clock.txt * ALC_SOFT_loopback_bformat -> https://openal-soft.org/openal-extensions/SOFT_loopback_bformat.txt * ALC_SOFT_reopen_device -> https://openal-soft.org/openal-extensions/SOFT_reopen_device.txt * ALC_SOFT_output_mode -> https://openal-soft.org/openal-extensions/SOFT_output_mode.txt
Diffstat (limited to 'make/config')
-rw-r--r--make/config/joal-alext.cfg7
-rw-r--r--make/config/joal-common-CustomCCode.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/make/config/joal-alext.cfg b/make/config/joal-alext.cfg
index 84baf22..2d3116d 100644
--- a/make/config/joal-alext.cfg
+++ b/make/config/joal-alext.cfg
@@ -31,6 +31,9 @@ ArgumentIsPascalString ALEVENTPROCSOFT 3 4
JavaCallbackDef alEventCallbackSOFT 1 ALEVENTPROCSOFT 5 ALCcontext ALContextKey
JavaCallbackKey alEventCallbackSOFT 1 ALEVENTPROCSOFT 5
+JavaCallbackDef alBufferCallbackSOFT 4 ALBUFFERCALLBACKTYPESOFT 0 ALCcontext ALContextKey
+JavaCallbackKey alBufferCallbackSOFT 4 ALBUFFERCALLBACKTYPESOFT 0
+
Import java.io.UnsupportedEncodingException
Import java.util.*
Import com.jogamp.openal.*
@@ -57,3 +60,7 @@ ReturnValueCapacity alcLoopbackOpenDeviceSOFT 0
IncludeAs CustomCCode joal-common-CustomCCode.c
+ReturnsString alcGetStringiSOFT
+ReturnsString alGetStringiSOFT
+
+ArgumentIsString alcReopenDeviceSOFT 1 \ No newline at end of file
diff --git a/make/config/joal-common-CustomCCode.c b/make/config/joal-common-CustomCCode.c
index e620735..3b2f590 100644
--- a/make/config/joal-common-CustomCCode.c
+++ b/make/config/joal-common-CustomCCode.c
@@ -1,3 +1 @@
-#include <al-types.h>
-#include <alc-types.h>
#include <string.h>