Commit bb480125 authored by norvell's avatar norvell
Browse files

Minor debug code cleanup and comment in options.h

parent 7f79519e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@
#define FIX_MCT_PLC_RECOVERY                            /* Issue 184: scale the old synthesis part correctly in the first good frame after lost frames in MCT modes - to be activated after previous switch is merged */
#define SBA_BR_SWITCHING                                /* Issue 114: Changes for sba bit rate switching*/
#define FIX_AGC_WINFUNC_MEMORY                          /* Issue 62: lower agc_com.winFunc memory consumption */
#define FIX_ITD
#define FIX_ITD                                         /* Contribution 16: TD renderer ITD improvement and code cleanup */

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
+0 −7
Original line number Diff line number Diff line
@@ -366,13 +366,6 @@ ivas_error TDREND_REND_RenderSourceHRFilt(

#ifdef FIX_ITD
    TDREND_Apply_ITD( Src_p->InputFrame_p, LeftOutputFrame, RightOutputFrame, &Src_p->previtd, Src_p->itd, Src_p->mem_itd, subframe_length );
#ifdef FIX_ITD_DBG
    dbgwrite( LeftOutputFrame, sizeof( float ), subframe_length, 1, "LeftOutputFrame.float" );
    dbgwrite( RightOutputFrame, sizeof( float ), subframe_length, 1, "RightOutputFrame.float" );
#endif
#ifdef FIX_ITD_DBG
    dbgwrite( Src_p->hr_filt_left, sizeof( float ), Src_p->filterlength, 1, "hr_filt_left.float" );
#endif
    TDREND_firfilt( LeftOutputFrame, Src_p->hr_filt_left, Src_p->mem_hr_filt_left, subframe_length, Src_p->filterlength );
    TDREND_firfilt( RightOutputFrame, Src_p->hr_filt_right, Src_p->mem_hr_filt_right, subframe_length, Src_p->filterlength );
#else