Resolve "Missing parameter update in speech/music classifier"
- Related issues: #2306 (closed)
- Requested reviewers: @vaclav
Reason why this change is needed
In BASOP, there is in the EVS function encod_gen_voic_fx() with the following parameter update:
/*st_fx->lowrate_pitchGain = 0.9f * st_fx->lowrate_pitchGain + 0.1f * gain_pit_fx;*/
hSpMusClas->lowrate_pitchGain = round_fx_sat( L_mac_sat( L_mult( 29491, hSpMusClas->lowrate_pitchGain ), 6554, gain_pit_fx ) ); /*Q14*Q16(0.1) + Q15 -> Q15*/
However, this code is missing in the IVAS counterpart function encod_gen_voic_ivas_fx().
Description of the change
Add the update of st_fx->lowrate_pitchGain in encod_gen_voic_ivas_fx().
- Describe what is done.
Affected operating points
Non-BE for all op.points involving ACELP GC core-coder but impact should be minimal.
Closes #2306 (closed)