Commit c43ffdeb authored by multrus's avatar multrus
Browse files

[cleanup] accept NONBE_FIX_855_JBM_FLUSH_OFFSET

parent efa0cbde
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -163,7 +163,6 @@
/* all switches in this category should start with "NONBE_" */

#define NONBE_FIX_856_TCX_LTP_SYNTH_FILTER                    /* FhG: issue 856: correct filtering length for tcx-ltp synth filtering*/
#define NONBE_FIX_855_JBM_FLUSH_OFFSET                        /* FhG: issue #855: add missing switch here for the code in JBM flushing                 */
#define NONBE_FIX_926_OSBA_DECODER_CRASH_PLANAR_SBA           /* FhG: issue 926: crash in OSBA decoding with planar FOA */
#define NONBE_FIX_908_OSBA_BR_SWITCHING_CRASH                 /* FhG: issue 908: fix crash in OSBA BR switching with long test vectors */
#define NONBE_FIX_BINAURAL_ROOM_IR_REVERBERATOR               /* FhG: re-enable acidentially disabled reverberator for BINAURAL_ROOM_IR */
+0 −6
Original line number Diff line number Diff line
@@ -1590,11 +1590,7 @@ ivas_error ivas_jbm_dec_flush_renderer(
        hTcBuffer->n_samples_buffered = hTcBuffer->n_samples_granularity + n_samples_still_available;
        hTcBuffer->n_samples_available = 0;
        hTcBuffer->n_samples_flushed = n_samples_to_render;
#ifdef NONBE_FIX_855_JBM_FLUSH_OFFSET
        hTcBuffer->n_samples_rendered = 0;
#else
        hTcBuffer->n_samples_rendered = hTcBuffer->n_samples_granularity;
#endif

        for ( ch_idx = 0; ch_idx < MAX_CICP_CHANNELS; ch_idx++ )
        {
@@ -1746,9 +1742,7 @@ ivas_error ivas_jbm_dec_flush_renderer(
        {
            return IVAS_ERROR( IVAS_ERR_WRONG_MODE, "Wrong IVAS format in VoIP renderer flushing!" );
        }
#ifdef NONBE_FIX_855_JBM_FLUSH_OFFSET
        hTcBuffer->n_samples_rendered = hTcBuffer->n_samples_granularity;
#endif
    }

    /* update global combined orientation start index */