diff options
author | Chris Robinson <[email protected]> | 2023-10-12 06:42:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-10-12 06:42:32 -0700 |
commit | 5b86b80591ce85869716885ca393e080f6f72685 (patch) | |
tree | 73714ad6bdd3a2f0d76b4fe6fd6f8c85f79cf243 /alc | |
parent | d1acb001a5c4779d382838fb02660ba9aa10e4cc (diff) |
Rename the convolution reverb effect to just convolution
While the common use case, convolution can do more than just reverb, and it
nicely shortens the name.
Diffstat (limited to 'alc')
-rw-r--r-- | alc/context.cpp | 2 | ||||
-rw-r--r-- | alc/export_list.h | 2 | ||||
-rw-r--r-- | alc/inprogext.h | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/alc/context.cpp b/alc/context.cpp index 8c930056..ffc2743e 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -75,7 +75,7 @@ std::vector<std::string_view> getContextExtensions() noexcept "AL_SOFT_block_alignment", "AL_SOFT_buffer_length_query", "AL_SOFT_callback_buffer", - "AL_SOFTX_convolution_reverb", + "AL_SOFTX_convolution_effect", "AL_SOFT_deferred_updates", "AL_SOFT_direct_channels", "AL_SOFT_direct_channels_remix", diff --git a/alc/export_list.h b/alc/export_list.h index cefe7a09..2ef0d777 100644 --- a/alc/export_list.h +++ b/alc/export_list.h @@ -820,7 +820,7 @@ inline const EnumExport alcEnumerations[]{ DECL(AL_UNPACK_AMBISONIC_ORDER_SOFT), - DECL(AL_EFFECT_CONVOLUTION_REVERB_SOFT), + DECL(AL_EFFECT_CONVOLUTION_SOFT), DECL(AL_EFFECTSLOT_STATE_SOFT), DECL(AL_FORMAT_UHJ2CHN8_SOFT), diff --git a/alc/inprogext.h b/alc/inprogext.h index a595721d..a145b8e4 100644 --- a/alc/inprogext.h +++ b/alc/inprogext.h @@ -41,10 +41,10 @@ void AL_APIENTRY alFlushMappedBufferDirectSOFT(ALCcontext *context, ALuint buffe #define AL_UNPACK_AMBISONIC_ORDER_SOFT 0x199D #endif -#ifndef AL_SOFT_convolution_reverb -#define AL_SOFT_convolution_reverb -#define AL_EFFECT_CONVOLUTION_REVERB_SOFT 0xA000 -#define AL_CONVOLUTION_REVERB_ORIENTATION_SOFT 0x100F /* same as AL_ORIENTATION */ +#ifndef AL_SOFT_convolution_effect +#define AL_SOFT_convolution_effect +#define AL_EFFECT_CONVOLUTION_SOFT 0xA000 +#define AL_CONVOLUTION_ORIENTATION_SOFT 0x100F /* same as AL_ORIENTATION */ #define AL_EFFECTSLOT_STATE_SOFT 0x199E typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYSOFT)(ALuint slotid) AL_API_NOEXCEPT17; typedef void (AL_APIENTRY*LPALAUXILIARYEFFECTSLOTPLAYVSOFT)(ALsizei n, const ALuint *slotids) AL_API_NOEXCEPT17; |