Commit 6861b8c1 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Add a fix to account for bad frame situations and additional use of...

Add a fix to account for bad frame situations and additional use of ivas_get_nchan_buffers_dec compared to float version.
parent dfd1bc77
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -388,7 +388,12 @@ Word16 ivas_get_nchan_buffers_dec_fx(
        }
#ifdef NONBE_FIX_984_OMASA_EXT_OUTPUT
        test();
#ifdef NONBE_FIX_1074_NOBJ_SIGNAL_OMASA_LBR
        test();
        IF( EQ_32( output_config, IVAS_AUDIO_CONFIG_EXTERNAL ) && GT_16( st_ivas->nchan_ism, 0 ) && LT_16( st_ivas->nchan_ism, 5 ) ) /* Last condition needed only in BASOP */
#else
        IF( EQ_32( output_config, IVAS_AUDIO_CONFIG_EXTERNAL ) && GT_16( st_ivas->nchan_ism, 0 ) )
#endif
        {
            nchan_out_buff = add( st_ivas->nchan_ism, CPE_CHANNELS );
        }