From 94b25ac09e1773f58a77f083b4d144def6116493 Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Tue, 12 Nov 2024 08:55:33 +0530 Subject: [PATCH] Fix for 3GPP issue 973: Yet another waveform discrepency in decoding received SBA packets with 15% FER [x] link #973 [x] Added fix for Q modification without scaling. --- lib_dec/hq_core_dec_fx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_dec/hq_core_dec_fx.c b/lib_dec/hq_core_dec_fx.c index cc047f9d0..a08764173 100644 --- a/lib_dec/hq_core_dec_fx.c +++ b/lib_dec/hq_core_dec_fx.c @@ -1098,6 +1098,7 @@ void ivas_hq_core_dec_fx( IF( EQ_16( st_fx->bfi, 1 ) && GE_16( output_frame, L_FRAME16k ) ) { /* PHASE_ECU active */ + Scale_sig32( t_audio_q, L_FRAME48k_EXT, sub( Q15, Q_audio ) ); Q_audio = 15; move16(); window_ola_fx( t_audio_q, synth, &Q_audio, hHQ_core->old_out_fx, &hHQ_core->Q_old_wtda, output_frame, -- GitLab