Commit c3a42a58 authored by emerit's avatar emerit
Browse files

fix comment

parent bf9c16d8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ ivas_error ivas_crend_binaural_filter_design_compute_filters_params(
    float EndEnergyThld = -120;  /* use to find end of HRIR. ratio between HRIR energy after end sample and before end sample is = EndEnergyThld. Remove zero at the end of the HRIR */

    float DirectEnergyThld = -25;  /* use to find the length direct and early part of HRIR/BRIR. ratio between HRIR/BRIR energy of diffuse part and complete HRIR/BRIR energy = BeginEnergyThld. Energy left in diffuse part */
    float DiffuseEnergyThld = -25; /* use to find the length diffuse part of HRIR/BRIR. Energy removed at the end of the diffuse part = DiffuseEnergyThld of total energy of whole diffuse part
    float DiffuseEnergyThld = -25; /* use to find the length diffuse part of HRIR/BRIR. Energy removed at the end of the diffuse part = DiffuseEnergyThld of total energy of whole diffuse part */

    /* Vars for loop indices etc. */
    int32_t i_ear, i_chan, i_tap;
@@ -1284,8 +1284,7 @@ ivas_error ivas_crend_binaural_filter_design_set_hrtf_fr(
ivas_error ivas_set_hrtf_fr(
    HRTFS_DATA *crend_hrtf,
    ivas_hrtf_t *hrtf,
    const int16_t output_frame
)
    const int16_t output_frame )
{
    int32_t i, j, m, n;
    float data_ir_flt[L_FRAME48k] = { 0.0f };