Commit 67614c90 authored by emerit's avatar emerit
Browse files

bug fix reverb init

parent bfbcef66
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -1504,6 +1504,19 @@ ivas_error ivas_init_decoder_fx(
        }
    }

#ifdef FIX_POINT_HRTF_FILE_FORMAT_REVERB
    /*--------------------------------------------------------------------*
     * Allocate and initialize HRTF Statistics handle
     *--------------------------------------------------------------------*/

    IF( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
    {
        IF( ( error = ivas_HRTF_statistics_init_fx( &st_ivas->hHrtfStatistics, output_Fs ) ) != IVAS_ERR_OK )
        {
            return error;
        }
    }
#endif

    /*-----------------------------------------------------------------*
     * Allocate and initialize SCE/CPE and other handles