Commit c2e627b3 authored by vaclav's avatar vaclav
Browse files

fix ext renderer failures

parent 25903e4a
Loading
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -5121,7 +5121,6 @@ static ivas_error renderIsmToBinauralReverb(
    input_ism *ismInput,
    IVAS_REND_AudioBuffer outAudio )
{
    int16_t i;
    float tmpRendBuffer[MAX_OUTPUT_CHANNELS][L_FRAME48k];
    ivas_error error;

@@ -5444,6 +5443,13 @@ static ivas_error renderMcToBinaural(
#else
    int8_t headRotEnabled;
#endif
    float *p_tmpRendBuffer[MAX_OUTPUT_CHANNELS];
    int16_t i;

    for ( i = 0; i < MAX_OUTPUT_CHANNELS; i++ )
    {
        p_tmpRendBuffer[i] = tmpRendBuffer[i];
    }

    push_wmops( "renderMcToBinaural" );

@@ -5522,7 +5528,7 @@ static ivas_error renderMcToBinaural(

        /* call CREND */
        if ( ( error = ivas_rend_crendProcess( mcInput->crendWrapper, getIvasAudioConfigFromRendAudioConfig( mcInput->base.inConfig ), getIvasAudioConfigFromRendAudioConfig( outConfig ),
                                               NULL, NULL, NULL, NULL, NULL /* ToDo: TBV */, *mcInput->base.ctx.pOutSampleRate ) ) != IVAS_ERR_OK )
                                               NULL, NULL, NULL, NULL, p_tmpRendBuffer, *mcInput->base.ctx.pOutSampleRate ) ) != IVAS_ERR_OK )
        {
            return error;
        }