Commit ff3dd477 authored by kinuthia's avatar kinuthia
Browse files

bug fix

parent 8ce5cdc8
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1231,11 +1231,7 @@ ivas_error ivas_init_decoder(
     * Allocate and initialize HRTF Statistics handle
     *--------------------------------------------------------------------*/

#ifdef NONBE_FIX_978_MC_TDREND_REVERB
    if ( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_5_1 || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_7_1 )
#else
    if ( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
    {
        if ( ( error = ivas_HRTF_statistics_init( &st_ivas->hHrtfStatistics, output_Fs ) ) != IVAS_ERR_OK )
        {
@@ -1995,7 +1991,7 @@ ivas_error ivas_init_decoder(
            return error;
        }
#ifdef NONBE_FIX_978_MC_TDREND_REVERB
        if ( st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_5_1 || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_7_1 )
        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 // DEBUG
+2 −2
Original line number Diff line number Diff line
@@ -188,7 +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->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_5_1 || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_7_1 ) )
        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
@@ -207,7 +207,7 @@ ivas_error ivas_td_binaural_renderer_sf(
            return error;
        }
#ifdef NONBE_FIX_978_MC_TDREND_REVERB
        if ( st_ivas->hRenderConfig != NULL && ( st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_5_1 || st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_7_1 ) )
        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