Commit 1a5211b7 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh Committed by Manuel Jander
Browse files

Fix for 3GPP issue 1409: Stereo Encoder: Differences in DTX for LTV 16 kHz signal

Link #1409
parent ff1b7531
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1876,7 +1876,7 @@ void CNG_enc_ivas_fx(
    {
        E_LPC_f_lsp_a_conversion( hDtxEnc->lspCNG_fx, Aq, M );
        exp = sub( Q14, norm_s( Aq[0] ) );
        Scale_sig( Aq, M, sub( Q12, exp ) ); // Q12
        Scale_sig( Aq, M + 1, sub( Q12, exp ) ); // Q12
    }

    tmp_loop = shr( st_fx->L_frame, 6 );
@@ -1986,19 +1986,19 @@ void CNG_enc_ivas_fx(
            move16();
            BREAK;
        case L_FRAME32k:
            inv_frame_len = ONE_BY_L_FRAME48k_Q31;
            inv_frame_len = ONE_BY_L_FRAME32k_Q31;
            move16();
            BREAK;
        case L_FRAME16k:
            inv_frame_len = ONE_BY_L_FRAME48k_Q31;
            inv_frame_len = ONE_BY_L_FRAME16k_Q31;
            move16();
            BREAK;
        case L_FRAME8k:
            inv_frame_len = ONE_BY_L_FRAME48k_Q31;
            inv_frame_len = ONE_BY_L_FRAME8k_Q31;
            move16();
            BREAK;
        case L_FRAME4k:
            inv_frame_len = ONE_BY_L_FRAME48k_Q31;
            inv_frame_len = ONE_BY_L_FRAME4k_Q31;
            move16();
            BREAK;
        default: