Add an in-progress extension string for convolution reverb
This commit is contained in:
@@ -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 "
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user