Commit 0ae069f0 authored by vaclav's avatar vaclav
Browse files

fix

parent 950237a1
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1699,6 +1699,7 @@ void ivas_binaural_add_LFE(
    return;
}

#ifndef FIX_HRTF_LOAD_API
#ifdef FIX_CREND_SIMPLIFY_CODE
#ifdef DEBUGGING
/*-------------------------------------------------------------------------*
@@ -1986,6 +1987,7 @@ void ivas_binaural_cldfb_sf(
}
#endif
#endif
#endif

/*-------------------------------------------------------------------------
 * ivas_binRenderer()
+10 −2
Original line number Diff line number Diff line
@@ -188,9 +188,15 @@ ivas_error IVAS_DEC_Open(
    hIvasDec->isInitialized = false;
    hIvasDec->updateOrientation = false;
#ifdef FIX_HRTF_LOAD
    hIvasDec->flushbuffer = NULL; // VE: TODO
#ifdef OBJ_EDITING_API
    hIvasDec->flushbuffer = NULL;
#else
    int16_t flushbuffer[20 * 960 / 4]; // temp. hack
#endif
    hIvasDec->pcmType = IVAS_DEC_PCM_INVALID;
#ifndef FIX_HRTF_LOAD_API
    hIvasDec->pcmType = IVAS_DEC_PCM_INT16; // temp. hack
#endif
    hIvasDec->nSamplesFlushed = 0;
#ifdef OBJ_EDITING_API
    hIvasDec->hasEditableParameters = false;
@@ -1966,7 +1972,7 @@ ivas_error IVAS_DEC_GetSamples(
#ifdef DEBUGGING
                else
                {
                    assert( 0 & "wrong PCM type for the flush buffer!" );
                    assert( 0 && "wrong PCM type for the flush buffer!" );
                }
#endif
                nSamplesRendered += hIvasDec->nSamplesFlushed;
@@ -4046,9 +4052,11 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
                return error;
            }

#ifndef FIX_HRTF_LOAD_API
#ifdef FIX_HRTF_LOAD
            *bitstreamReadDone = false; // temp hack until JBM API is reworked
#endif
#endif
#ifdef FIX_CREND_SIMPLIFY_CODE
            *nSamplesRendered += nSamplesRendered_loop;
#else