Commit 87406433 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

fix bug in SPAR active W channel cross-fade process, modify stv to trigger this fcn

parent d2b4a887
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -193,6 +193,7 @@
#define FIX_1330_JBM_MEMORY_FIX                         /* VA: basop issue: 2179 fix non-BE difference in FIX_1330_JBM_MEMORY */
#define NONBE_1380_OMASA_BUILD_DIFF                     /* Nokia: Fix for issue #1380: Large differences in OMASA output between Debug and Release builds */
#define NONBE_FIX_1426_STEREO_PANNING_BETWEEN_OPT_LEVEL /* Nokia: Adjustments in remaining stereo panning functions to make them BE between Debug and Release */
#define BE_FIX_1391_COVERAGE_SPAR_DYN__CHANNEL         /* Dolby: Fix coverage of SBA SPAR Dynamic active W not getting hit by the tests */


/* ##################### End NON-BE switches ########################### */
+4 −0
Original line number Diff line number Diff line
@@ -838,7 +838,11 @@ static ivas_error ivas_spar_enc_process(
    {

        /*cross fade between new active W channels and old passive W channel*/
#ifdef BE_FIX_1391_COVERAGE_SPAR_DYN__CHANNEL
        if ( dyn_active_w_flag == 1 || hSpar->hMdEnc->spar_md.prior_dyn_active_w_flag == 1 )
#else
        if ( dyn_active_w_flag == 1 )
#endif
        {
            if ( hSpar->hMdEnc->spar_md.prior_dyn_active_w_flag != dyn_active_w_flag )
            {
(132 B)

File changed.

No diff preview for this file type.