Commit 037b1949 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept NONBE_FIX_978_MC_TDREND_REVERB

parent 3ce3222d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -209,7 +209,6 @@

//#define FIX_777_COMBI_RENDER_CONFIG_FILE                /* Philips: Fix for combined renderer config file support */

#define NONBE_FIX_978_MC_TDREND_REVERB                  /* Eri : activate reverb for TDREND with headtracking */
#define NONBE_FIX_999_JBM_MCT_FLUSH                     /* FhG: issue #999: fix wrong flushing for MCT at a JBM rate switch */
#define NONBE_FIX_1000_G1_G2_SWB_TBE                    /* VA: issue 1000: avoid div by zero due to g1 + g2 being zero in SWB TBE */

+0 −4
Original line number Diff line number Diff line
@@ -1965,11 +1965,7 @@ ivas_error ivas_init_decoder(
            return error;
        }

#ifdef NONBE_FIX_978_MC_TDREND_REVERB
        if ( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#else
        if ( st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
        {

#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES
+0 −4
Original line number Diff line number Diff line
@@ -199,11 +199,7 @@ static ivas_error ivas_ism_bitrate_switching_dec(
                {
                    return error;
                }
#ifdef NONBE_FIX_978_MC_TDREND_REVERB
                if ( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#else
                if ( st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
                {
#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES
                    if ( ( error = ivas_reverb_open( &st_ivas->hReverb, st_ivas->hHrtfStatistics, st_ivas->hRenderConfig, st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )
+0 −8
Original line number Diff line number Diff line
@@ -188,11 +188,7 @@ ivas_error ivas_td_binaural_renderer_sf(
            return error;
        }

#ifdef NONBE_FIX_978_MC_TDREND_REVERB
        if ( st_ivas->hRenderConfig != NULL && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#else
        if ( st_ivas->hRenderConfig != NULL && st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
        {
            if ( ( error = ivas_reverb_process( st_ivas->hReverb, st_ivas->transport_config, 0, tc_local, p_reverb_signal, 0 ) ) != IVAS_ERR_OK )
            {
@@ -208,11 +204,7 @@ ivas_error ivas_td_binaural_renderer_sf(
            return error;
        }

#ifdef NONBE_FIX_978_MC_TDREND_REVERB
        if ( st_ivas->hRenderConfig != NULL && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#else
        if ( st_ivas->hRenderConfig != NULL && st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
        {
            /* add reverb to rendered signals */
            v_add( reverb_signal[0], output_f_local[0], output_f_local[0], output_frame );