Loading apps/decoder.c +7 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,13 @@ 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 ); CustomLsReader_close( &hLsCustomReader ); Loading lib_com/ivas_prot.h +2 −0 Original line number Diff line number Diff line Loading @@ -5387,9 +5387,11 @@ ivas_error ivas_crend_init_from_hrtf_handle( HRTFS_HANDLE hrtf); #endif #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE ivas_error destroy_SetOfHRTF( HRTFS_CREND_HANDLE hSetOfHRTF /* i/o: Set of HRTF CRend handle */ ); #endif #endif Loading lib_com/options.h +3 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,9 @@ #define FIX_337_TDREND_INTP /* Issue 337: TD renderer interpolation threshold set too low */ #define FIX_BINAURAL_DELAY_PRECISION /* fix delay precision for binaural latency for crend*/ #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 */ #define FIX_334_DEBUG_BE_STEREO_SWITCHING /* FhG: Fix non-BE issue for stereo switching when DEBUGGING is enabled */ Loading lib_dec/ivas_init_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1790,7 +1790,9 @@ void ivas_destroy_dec( /* CRend binaural renderer handle */ if ( st_ivas->hSetOfHRTF != NULL ) { #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE destroy_SetOfHRTF( st_ivas->hSetOfHRTF ); #endif ivas_HRTF_CRend_binary_close( &st_ivas->hSetOfHRTF ); } Loading lib_rend/ivas_crend.c +2 −1 Original line number Diff line number Diff line Loading @@ -875,6 +875,7 @@ ivas_error ivas_crend_init_from_setofhrtf( #endif #endif #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE /*---------------------------------------------------------------------* * destroy_HRTF() * Loading Loading @@ -952,7 +953,7 @@ ivas_error destroy_SetOfHRTF( } #endif #endif #ifndef FIX_197_CREND_INTERFACE /*------------------------------------------------------------------------- * ivas_crend_open() Loading Loading
apps/decoder.c +7 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,13 @@ 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 ); CustomLsReader_close( &hLsCustomReader ); Loading
lib_com/ivas_prot.h +2 −0 Original line number Diff line number Diff line Loading @@ -5387,9 +5387,11 @@ ivas_error ivas_crend_init_from_hrtf_handle( HRTFS_HANDLE hrtf); #endif #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE ivas_error destroy_SetOfHRTF( HRTFS_CREND_HANDLE hSetOfHRTF /* i/o: Set of HRTF CRend handle */ ); #endif #endif Loading
lib_com/options.h +3 −0 Original line number Diff line number Diff line Loading @@ -154,6 +154,9 @@ #define FIX_337_TDREND_INTP /* Issue 337: TD renderer interpolation threshold set too low */ #define FIX_BINAURAL_DELAY_PRECISION /* fix delay precision for binaural latency for crend*/ #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 */ #define FIX_334_DEBUG_BE_STEREO_SWITCHING /* FhG: Fix non-BE issue for stereo switching when DEBUGGING is enabled */ Loading
lib_dec/ivas_init_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1790,7 +1790,9 @@ void ivas_destroy_dec( /* CRend binaural renderer handle */ if ( st_ivas->hSetOfHRTF != NULL ) { #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE destroy_SetOfHRTF( st_ivas->hSetOfHRTF ); #endif ivas_HRTF_CRend_binary_close( &st_ivas->hSetOfHRTF ); } Loading
lib_rend/ivas_crend.c +2 −1 Original line number Diff line number Diff line Loading @@ -875,6 +875,7 @@ ivas_error ivas_crend_init_from_setofhrtf( #endif #endif #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE /*---------------------------------------------------------------------* * destroy_HRTF() * Loading Loading @@ -952,7 +953,7 @@ ivas_error destroy_SetOfHRTF( } #endif #endif #ifndef FIX_197_CREND_INTERFACE /*------------------------------------------------------------------------- * ivas_crend_open() Loading