Loading lib_rend/ivas_crend.c +3 −11 Original line number Diff line number Diff line Loading @@ -115,15 +115,15 @@ ivas_error ivas_hrtf_init( *------------------------------------------------------------------------*/ static ivas_error ivas_hrtf_open( HRTFS_CREND_HANDLE *hHrtf_out /* o : HRTF handle */ HRTFS_HANDLE *hHrtf_out /* o : HRTF handle */ ) { HRTFS_CREND_HANDLE hHrtf; HRTFS_HANDLE hHrtf; ivas_error error; if ( *hHrtf_out == NULL ) { if ( ( hHrtf = (HRTFS_CREND_HANDLE) malloc( sizeof( HRTFS_CREND_DATA ) ) ) == NULL ) if ( ( hHrtf = (HRTFS_HANDLE) malloc( sizeof( HRTFS_DATA ) ) ) == NULL ) { return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend HRTFS Handle\n" ); } Loading Loading @@ -174,11 +174,7 @@ static ivas_error ivas_hrtf_open( *------------------------------------------------------------------------*/ static void ivas_hrtf_close( #ifdef FIX_CREND_SIMPLIFY_CODE HRTFS_CREND_HANDLE *hHrtf /* i/o: HRTF handle */ #else HRTFS_HANDLE *hHrtf /* i/o: HRTF handle */ #endif ) { if ( hHrtf == NULL || *hHrtf == NULL ) Loading Loading @@ -1437,11 +1433,7 @@ ivas_error ivas_rend_openCrend( { int16_t i, subframe_length; int32_t max_total_ir_len; #ifdef FIX_CREND_SIMPLIFY_CODE HRTFS_CREND_HANDLE hHrtf; #else HRTFS_HANDLE hHrtf; #endif CREND_HANDLE hCrend; ivas_error error; int16_t pos_idx; Loading Loading
lib_rend/ivas_crend.c +3 −11 Original line number Diff line number Diff line Loading @@ -115,15 +115,15 @@ ivas_error ivas_hrtf_init( *------------------------------------------------------------------------*/ static ivas_error ivas_hrtf_open( HRTFS_CREND_HANDLE *hHrtf_out /* o : HRTF handle */ HRTFS_HANDLE *hHrtf_out /* o : HRTF handle */ ) { HRTFS_CREND_HANDLE hHrtf; HRTFS_HANDLE hHrtf; ivas_error error; if ( *hHrtf_out == NULL ) { if ( ( hHrtf = (HRTFS_CREND_HANDLE) malloc( sizeof( HRTFS_CREND_DATA ) ) ) == NULL ) if ( ( hHrtf = (HRTFS_HANDLE) malloc( sizeof( HRTFS_DATA ) ) ) == NULL ) { return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Crend HRTFS Handle\n" ); } Loading Loading @@ -174,11 +174,7 @@ static ivas_error ivas_hrtf_open( *------------------------------------------------------------------------*/ static void ivas_hrtf_close( #ifdef FIX_CREND_SIMPLIFY_CODE HRTFS_CREND_HANDLE *hHrtf /* i/o: HRTF handle */ #else HRTFS_HANDLE *hHrtf /* i/o: HRTF handle */ #endif ) { if ( hHrtf == NULL || *hHrtf == NULL ) Loading Loading @@ -1437,11 +1433,7 @@ ivas_error ivas_rend_openCrend( { int16_t i, subframe_length; int32_t max_total_ir_len; #ifdef FIX_CREND_SIMPLIFY_CODE HRTFS_CREND_HANDLE hHrtf; #else HRTFS_HANDLE hHrtf; #endif CREND_HANDLE hCrend; ivas_error error; int16_t pos_idx; Loading