Resolve "Possible bug in function ivas_calculate_abs_fr()"

Reason why this change is needed

In function ivas_calculate_abs_fr_fx() a certain condition seems to be different from what is implemented in floating point. In floating point we have:

    if ( ppFilterbank_FRs_s[i] < 0.1f )
    {
        ppFilterbank_FRs_s[i] = 0.1f;
    }

But in fixed point we have:

    if ( ppFilterbank_FRs_s_fx[i] < 0 )
    {
        ppFilterbank_FRs_s_fx[i] = 419430; // 0.1 in Q22
        move32();
    }

Description of the change

  • Fix the condition in BASOP code.

Affected operating points

Closes #2642 (closed)

Merge request reports

Loading