Commit 5d33d50c authored by vaclav's avatar vaclav
Browse files

lower the limit for no hysteresis BWD switching; under FIX_529_BWD_ISSUE

parent d4aa7f3f
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -89,8 +89,7 @@ void bw_detect(

    bwd_count_wider_bw = BWD_COUNT_WIDER_BW;
#ifdef FIX_529_BWD_ISSUE
    if ( st->ini_frame > 0 && ( ( st->element_mode == IVAS_CPE_MDCT && ( st->element_brate >= IVAS_64k || mct_on ) ) ||
                                ( ivas_format == ISM_FORMAT && st->element_brate >= IVAS_48k ) ) )
    if ( st->ini_frame > 0 && ( st->element_mode == IVAS_CPE_MDCT ||  ivas_format == ISM_FORMAT ) && ( st->element_brate >= IVAS_48k || mct_on ) )
#else
    if ( st->element_mode == IVAS_CPE_MDCT && ( st->element_brate > IVAS_64k || mct_on ) )
#endif