Add an in-progress extension string for convolution reverb

This commit is contained in:
Chris Robinson
2020-09-01 07:37:07 -07:00
parent eeba1a385c
commit 1968136c98
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -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 "
+2 -2
View File
@@ -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;
}