Wrong value of energy ratio in MASA EXT mode
# Basic info <!--- Add commit SHA used to reproduce --> - Encoder (float): - Decoder: # Bug description When the energy ratio value is prepared to be written in the MASA metadata file in EXT mode, it is transformed into Word8. If it has exactly the value 1 in Q30, after: UWord8 tmp = (UWord8) L_shr( hQMetaData->q_direction[dir].band_data[b_old].energy_ratio_fx[sf], Q30 - 8 ); // Q8 extOutMeta->diffuseToTotalRatio[sf][b_new] = (UWord8) sub( extOutMeta->diffuseToTotalRatio[sf][b_new], tmp ); // Q8 it becomes 0 instead of 1. # Ways to reproduce Decoding in EXT mode of MASA, potentially all bitrates. At lower bitrates there is lower probability to be triggered due to the energy ratio values. (Clear steps or refer to a failing automated test, e.g. with a pipeline link) <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Add further information to the first row and remove and add labels as necessary. -->
issue