Commit f59a6fc0 authored by janssonfr's avatar janssonfr
Browse files

Fix for issue 560 added

parent 817cd879
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@

#define FIX_529_BWD_ISSUE                               /* VA: issue 529: fix Bandwidth Detector not working reliably for Music and Generic Audio */


#define FIX_560_VAD_FLAG                                /* Eri: Issue 560 - VAD flag issue for unified stereo */

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
+2 −0
Original line number Diff line number Diff line
@@ -462,8 +462,10 @@ ivas_error pre_proc_front_ivas(
        /* Add down mix stereo activity to LR vad_flag_dtx */
        *vad_flag_dtx = *vad_flag_dtx || st->vad_flag;

#ifndef FIX_560_VAD_FLAG
        /* Combine the LR VAD flag and stereo downmix VAD flag */
        st->vad_flag = ( LR_vad_flag || st->vad_flag );
#endif

        /* Determine hangover flag status based on LR localVAD and downmix localVAD */
        *vad_hover_flag = *vad_flag_dtx && !( LR_localVAD || st->localVAD );