Commit f8d45f44 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

Revert "[fix] try to reduce dynamic memory allocation for FastConv"

This reverts commit 4c9ded69.
parent 4c9ded69
Loading
Loading
Loading
Loading
Loading
+6 −18
Original line number Diff line number Diff line
@@ -810,15 +810,9 @@ ivas_error ivas_allocate_binaural_hrtf(
    }
#endif

#ifdef FIX_1123_FASTCONV_16BIT_FMT
#ifdef FIX_1146_OPT_FASTCONV_STRUCT
    else
#endif
#ifdef FIX_1123_FASTCONV_16BIT_ROM
    if ( ( renderer_type == RENDERER_BINAURAL_FASTCONV && bin_input_config == BINAURAL_INPUT_AUDIO_CONFIG_COMBINED ) || ( renderer_type == RENDERER_BINAURAL_FASTCONV && input_config != IVAS_AUDIO_CONFIG_INVALID ) )
#else
#ifdef FIX_1146_OPT_FASTCONV_STRUCT
    else
#endif
    if ( renderer_type == RENDERER_BINAURAL_FASTCONV || bin_input_config == BINAURAL_INPUT_AUDIO_CONFIG_COMBINED )
#endif
    {
@@ -862,15 +856,9 @@ ivas_error ivas_allocate_binaural_hrtf(
        }
    }

#ifdef FIX_1123_FASTCONV_16BIT_FMT
#ifdef FIX_1146_OPT_FASTCONV_STRUCT
    else
#endif
#ifdef FIX_1123_FASTCONV_16BIT_ROM
    if ( ( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && bin_input_config == BINAURAL_INPUT_AUDIO_CONFIG_COMBINED ) || ( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && input_config != IVAS_AUDIO_CONFIG_INVALID ) )
#else
#ifdef FIX_1146_OPT_FASTCONV_STRUCT
    else
#endif
    if ( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM || bin_input_config == BINAURAL_INPUT_AUDIO_CONFIG_COMBINED )
#endif
    {