Commit 308dc44c authored by vaclav's avatar vaclav
Browse files

temp. fix to keep BE until #1504 (FLP) is solved

parent 33c056c2
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -761,7 +761,8 @@ ivas_error ivas_core_enc_fx(
        Word16 Q_shb_spch_16 = Q_shb_spch;
        move16();
#ifdef FIX_2344_ALIGN_PREPROC
        IF( st->tcxonly == 0 || hStereoICBWE != NULL )
        IF( st->tcxonly == 0 || hStereoICBWE != NULL || st->core == ACELP_CORE ) // temp. fix to keep BE until #1504 (FLP) is solved, then it will become:
                                                                                 // IF( st->tcxonly == 0 )
#endif
        {
            shift = add( getScaleFactor16( shb_speech_fx, L_FRAME16k ), Q16 );
+1 −0
Original line number Diff line number Diff line
@@ -1134,6 +1134,7 @@ ivas_error ivas_compute_core_buffers_fx(
        shift = sub( norm_s( inp_max ), 1 /* headroom */ );
#else
        Word16 shift = sub( norm_s( inp_max ), headroom );
        Word16 Q_min, i;
#endif
        shift = s_max( shift, 0 );
        shift = s_min( shift, Q_MAX );