Commit 67463e13 authored by vaclav's avatar vaclav
Browse files

improvement

parent fa419702
Loading
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -79,10 +79,10 @@

#define MAX_NR_OUTPUTS ( 2 )

const int16_t init_loop_delay[IVAS_REV_MAX_NR_BRANCHES] = { 37, 31, 29, 23, 19, 17, 13, 11 };
const int16_t default_loop_delay_48k[IVAS_REV_MAX_NR_BRANCHES] = { 2309, 1861, 1523, 1259, 1069, 919, 809, 719 };
const int16_t default_loop_delay_32k[IVAS_REV_MAX_NR_BRANCHES] = { 1531, 1237, 1013, 839, 709, 613, 541, 479 };
const int16_t default_loop_delay_16k[IVAS_REV_MAX_NR_BRANCHES] = { 769, 619, 509, 421, 353, 307, 269, 239 };
static const int16_t init_loop_delay[IVAS_REV_MAX_NR_BRANCHES] = { 37, 31, 29, 23, 19, 17, 13, 11 };
static const int16_t default_loop_delay_48k[IVAS_REV_MAX_NR_BRANCHES] = { 2309, 1861, 1523, 1259, 1069, 919, 809, 719 };
static const int16_t default_loop_delay_32k[IVAS_REV_MAX_NR_BRANCHES] = { 1531, 1237, 1013, 839, 709, 613, 541, 479 };
static const int16_t default_loop_delay_16k[IVAS_REV_MAX_NR_BRANCHES] = { 769, 619, 509, 421, 353, 307, 269, 239 };

/*------------------------------------------------------------------------------------------*
 * Local Struct definition
@@ -682,8 +682,6 @@ static ivas_error initialize_reverb_filters(
{
    ivas_error error;

    error = IVAS_ERR_OK;

    /* init correlation and coloration filters */
    if ( ( error = ivas_reverb_t2f_f2t_init( &hReverb->fft_filter_ols, hReverb->fft_size, hReverb->fft_subblock_size ) ) != IVAS_ERR_OK )
    {
@@ -710,7 +708,7 @@ static ivas_error initialize_reverb_filters(
        return error;
    }

    return error;
    return IVAS_ERR_OK;
}


@@ -1060,7 +1058,6 @@ ivas_error ivas_reverb_open(
    int16_t fft_hist_size, transition_start, transition_length;
    int16_t nr_fc_input, nr_fc_fft_filter;

    error = IVAS_ERR_OK;
    output_frame = (int16_t) ( output_Fs / FRAMES_PER_SEC );
    subframe_len = output_frame / MAX_PARAM_SPATIAL_SUBFRAMES;
    predelay_bf_len = output_frame;
@@ -1240,7 +1237,7 @@ ivas_error ivas_reverb_open(

    *hReverb = pState;

    return error;
    return IVAS_ERR_OK;
}