Commit de6eaffe authored by Ke Zhao's avatar Ke Zhao
Browse files

Merge branch '388-delay-compensation-of-ivas_rend-with-masa-input-format' into 'main'

[rend-non-BE][non-BE] Resolve "Delay compensation of IVAS_rend with MASA input format"

See merge request !527
parents ad1223e5 decf39b5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3484,7 +3484,7 @@ ivas_error IVAS_REND_GetDelay(
    {
        if ( hIvasRend->inputsMasa[i].base.inConfig != IVAS_REND_AUDIO_CONFIG_UNKNOWN )
        {
            latency_ns = NS2SA( hIvasRend->sampleRateOut, (int32_t) ( (float) IVAS_FB_DEC_DELAY_NS + 0.5f ) );
            latency_ns = (int32_t) ( (float) IVAS_FB_DEC_DELAY_NS + 0.5f );
            max_latency_ns = max( max_latency_ns, latency_ns );
        }
    }