Commit 843c8462 authored by Jan Kiene's avatar Jan Kiene
Browse files

remove spurious assert

parent 01ec3399
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4868,13 +4868,11 @@ ivas_error IVAS_REND_GetDelay_fx(
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }

    assert( *timeScale == 8000 || *timeScale == 16000 || *timeScale == 32000 || *timeScale == 48000 );

    *nSamples = 0;
    move16();

    *timeScale = hIvasRend->sampleRateOut;

    move32();
    max_latency_ns = getMaxGlobalDelayNs( hIvasRend );

    *nSamples = latencyNsToSamples( hIvasRend->sampleRateOut, max_latency_ns );