Commit 6fcded33 authored by Adam Mills's avatar Adam Mills
Browse files

Addressing review comments

parent a29406b2
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3095,7 +3095,6 @@ const float ivas_lpf_2_butter_48k[IVAS_BIQUAD_FILT_LEN << 1] =
    7.15317998432330e-05f,    0.000143063599686466f,    7.15317998432330e-05f, 1.f, -1.97593552482925f,    0.976221652028620f 
};
#endif
const ivas_lfe_freq_models ivas_str_lfe_freq_models = 
{
    { 16384, 14924, 13463, 12003, 10542, 9082, 7622, 6161,
+4 −9
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ static int16_t ivas_lfe_dec_dequant(
 * Create, allocate and initialize IVAS decoder LFE low pass filter state handle
 *-------------------------------------------------------------------------*/

static ivas_error ivas_create_lfe_lpf_dec(
static void ivas_create_lfe_lpf_dec(
    ivas_filters_process_state_t *hLfeLpf, /* o  : LFE LPF handle          */
    const int32_t input_Fs                 /* i  : input sampling rate     */
)
@@ -266,13 +266,11 @@ static ivas_error ivas_create_lfe_lpf_dec(
    const float *filt_coeff;

    ivas_lfe_lpf_select_filt_coeff( input_Fs, IVAS_FILTER_ORDER_4, &filt_coeff );

    ivas_filters_init( hLfeLpf, filt_coeff, IVAS_FILTER_ORDER_4 );

    return IVAS_ERR_OK;
    return;
}
#endif

/*-----------------------------------------------------------------------------------------*
 * Function ivas_lfe_dec()
 *
@@ -438,10 +436,7 @@ ivas_error ivas_create_lfe_dec(
    {
        filt_order = 4;
        low_pass_delay_dec_out = 3500000L;
        if ( ( error = ivas_create_lfe_lpf_dec( &( hLFE->filter_state ), output_Fs ) ) != IVAS_ERR_OK )
        {
            return error;
        }
        ivas_create_lfe_lpf_dec( &( hLFE->filter_state ), output_Fs );
    }
#endif