Admin message

WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.

Different threshold in ivas_dirac_dec_binaural_functions_fx.c

Basic info

  • Float reference:
    • Encoder (float):
    • Decoder (float): dfed311fdc7c91f7f9c4204ba4f1c9b02441888a
  • Fixed point:
    • Encoder (fixed):
    • Decoder (fixed): 496d928d

Bug description

For some reason, there is clear mismatch in threshold between BASOP and float

                IF( LT_32( ( ratio_fx = hSpatParamRendCom->energy_ratio2_fx[dirac_read_idx][bin] ), 10737418 /* 0.01 in Q30 */ ) )
                if ( ( ratio = hSpatParamRendCom->energy_ratio2[dirac_read_idx][bin] ) < 0.001 )

Even the comment says a wrong value. This might not affect that much as it is a "close-to-zero" check but good to fix regardless.

Assignee Loading
Time tracking Loading