Commit 2d25f097 authored by vaclav's avatar vaclav
Browse files

updates

parent 69075604
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -421,10 +421,10 @@ ivas_error ivas_dirac_dec_binaural_copy_hrtfs(
        hrtfParambin->allocatedFromFile = 0;
#endif
        *hHrtfParambin = hrtfParambin;
    }

        return IVAS_ERR_OK;
    }
}


/*-------------------------------------------------------------------------
+0 −1
Original line number Diff line number Diff line
@@ -313,7 +313,6 @@ ivas_error TDREND_MIX_AddSrc(
#ifndef FIX_989_TD_REND_ROM
    error = IVAS_ERR_OK;
#endif

    /* Get unique source index */
    *SrcInd = hBinRendererTd->MaxSrcInd + 1;
    hBinRendererTd->MaxSrcInd++;
+1 −3
Original line number Diff line number Diff line
@@ -636,8 +636,6 @@ ivas_error TDREND_SRC_Alloc(
    ivas_error error;
    TDREND_SRC_t *Src_p;

    error = IVAS_ERR_OK;

    *Src_pp = NULL;

    /* Allocate the TDREND_SRC_t variable */
@@ -660,7 +658,7 @@ ivas_error TDREND_SRC_Alloc(

    *Src_pp = Src_p;

    return error;
    return IVAS_ERR_OK;
}


+0 −1
Original line number Diff line number Diff line
@@ -592,7 +592,6 @@ ivas_error ivas_HRTF_statistics_init(
    HRTFS_STATISTICS_HANDLE *hHrtfStatistics,                   /* i/o: HRTF statistics structure               */
    const int32_t sampleRate                                    /* i  : Sample rate                             */
);

#else
ivas_error ivas_HRTF_CRend_binary_open(
    HRTFS_CREND **hSetOfHRTF                                    /* i/o: Set of HRTF handle                      */
+3 −1
Original line number Diff line number Diff line
@@ -157,12 +157,14 @@ static ivas_error read_and_check_hrtf_binary_file_header(
    FILE *f_hrtf )
{
    int32_t file_size;

#ifdef FIX_CREND_SIMPLIFY_CODE
    if ( hrtf_file_header == NULL || f_hrtf == NULL )
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }
#endif

    /* [Declaration of the binary file]       */
    /*      File Identifier         (8 bytes) */
    /*      Size of file in bytes   (4 bytes) */
@@ -817,7 +819,7 @@ static ivas_error TDREND_LoadBSplineBinary(
 * Loads the B Spline HR filter model data from file.
 --------------------------------------------------------------------*/

static ivas_error LoadBSplineBinary(
static ivas_error(
    IVAS_DEC_HRTF_HANDLE HrFiltSet_p, /* i/o: HR filter model parameter structure */
    FILE *f_hrtf                      /* i  : HR filter data file handle          */
)