diff options
-rw-r--r-- | alc/alc.cpp | 3 | ||||
-rw-r--r-- | examples/alconvolve.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index a40a4d7d..c74c1ad8 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -807,6 +807,8 @@ constexpr struct { DECL(AL_BUFFER_CALLBACK_USER_PARAM_SOFT), DECL(AL_UNPACK_AMBISONIC_ORDER_SOFT), + + DECL(AL_EFFECT_CONVOLUTION_REVERB_SOFT), }; #undef DECL @@ -854,6 +856,7 @@ constexpr ALchar alExtList[] = "AL_SOFTX_bformat_hoa " "AL_SOFT_block_alignment " "AL_SOFTX_callback_buffer " + "AL_SOFTX_convolution_reverb " "AL_SOFT_deferred_updates " "AL_SOFT_direct_channels " "AL_SOFT_direct_channels_remix " diff --git a/examples/alconvolve.c b/examples/alconvolve.c index 77ef83bf..05804dbe 100644 --- a/examples/alconvolve.c +++ b/examples/alconvolve.c @@ -377,10 +377,10 @@ int main(int argc, char **argv) if(InitAL(&argv, &argc) != 0) return 1; - if(!alcIsExtensionPresent(alcGetContextsDevice(alcGetCurrentContext()), "ALC_EXT_EFX")) + if(!alIsExtensionPresent("AL_SOFTX_convolution_reverb")) { CloseAL(); - fprintf(stderr, "Error: EFX not supported\n"); + fprintf(stderr, "Error: Convolution revern not supported\n"); return 1; } |