OMASA object editing path has wrong assignment

Basic info

  • Fixed point:
    • Decoder (fixed): 7897b35e

Bug description

There is copy-paste mistake in OMASA object editing path when gains are not adjusted shown below.

IF( masaGainEdited )
                {
                    newRatios[0] = Mpy_32_16_1( newRatios[0], gainMasaPow2 ); // Q = 30 + 9 + 1 - 16 = 24
                    newRatios[1] = Mpy_32_16_1( newRatios[1], gainMasaPow2 ); // Q = 30 + 9 + 1 - 16 = 24
                    move32();
                    move32();
                }
                ELSE
                {
                    newRatios[0] = L_shr( newRatios[0], 6 ); // Q = 30 + 9 + 1 - 16 = 24
BUG HERE ->         newRatios[1] = L_shr( newRatios[0], 6 );
                    move32();
                    move32();
                }

Ways to reproduce

Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-xxxx

Assignee Loading
Time tracking Loading