Commit a43ca20b authored by Devansh Kandpal's avatar Devansh Kandpal
Browse files

Added comment + fixed porting

parent 70626606
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -703,7 +703,7 @@ static ivas_error compute_t60_coeffs_fx(
                }
                ELSE
                {
                    tmp = shr( tmp, abs( sub( 5, e ) ) );                          // scaling tmp to Q15
                    tmp = shr( tmp, sub( 5, e ) );                                 // scaling tmp to Q15
                    target_gains_db_fx[bin_idx] = mult( shr( min120q8, 1 ), tmp ); // Q8
                }
            }
@@ -998,7 +998,7 @@ static ivas_error calc_jot_t60_coeffs_fx(

    IF( EQ_16( lin_gain_hf_fx, 0 ) )
    {
        lin_gain_hf_fx = 1;
        lin_gain_hf_fx = 1; // Using minimum value to avoid division by zero
        move16();
    }