Commit 007f5243 authored by emerit's avatar emerit
Browse files

fix missing #ifdef

parent c52f4737
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -538,10 +538,12 @@ cleanup:
        IVAS_DEC_HRTF_HANDLE hHrtfTD;
        IVAS_DEC_GetHrtfHandle( hIvasDec, &hHrtfTD );
        dealloc_HRTF_binary( hHrtfTD );
#ifdef HRTF_BINARY_FILE
#ifdef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE
        IVAS_DEC_HRTF_CREND_HANDLE hSetOfHRTF;
        IVAS_DEC_GetHrtfCRendHandle( hIvasDec, &hSetOfHRTF );
        destroy_SetOfHRTF( hSetOfHRTF );
#endif
#endif
    }
    IVAS_DEC_Close( &hIvasDec );
+3 −1
Original line number Diff line number Diff line
@@ -147,13 +147,15 @@
#endif

#define FIX_FIX_I59                                     /* Issue 59:  small fix concerning LFE delay rounding */
#define HRTF_BINARY_FILE                                /* HRTF filters' binary file used for binaural rendering. */
//#define HRTF_BINARY_FILE                                /* HRTF filters' binary file used for binaural rendering. */

#define FIX_197_CREND_INTERFACE 
#define FIX_301_PLC                                     /* FhG: issue 301 - fix bug of missing update of overlap buffer for DFT-stereo PLC*/
#define FIX_337_TDREND_INTP                             /* Issue 337: TD renderer interpolation threshold set too low */

#ifdef HRTF_BINARY_FILE                                /* HRTF filters' binary file used for binaural rendering. */
#define FIX_MEMORY_COUNTING_HRTF_BINARY_FILE
#endif
#define FIX_310_TD_REND_DELAY                           /* Adding HRTF delay being read from ROM/Binary file, fix rounding for delay compensation in renderer */

/* ################## End DEVELOPMENT switches ######################### */
+1 −1
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ void ivas_HRTF_CRend_binary_close(
    }

#ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE
    destroy_SetOfHRTF( hSetOfHRTF );
    destroy_SetOfHRTF( *hSetOfHRTF );
#endif

    free( *hSetOfHRTF );