Commit 899d33cf authored by Jan Kiene's avatar Jan Kiene
Browse files

pass delay value correctly

parent 2e8dab5d
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -189,13 +189,12 @@ def test_be_for_jbm_neutral_dly_profile(

        # strip jbm delay
        # TODO: this may need to be adapted to handle variable offsets based on outcome of #1122
        delay_samples = JBM_NEUTRAL_DELAY_MS * sampling_rate_khz
        cmp_result = audioarray.compare(
            x,
            x_jbm,
            fs=sampling_rate_khz * 1000,
            per_frame=False,
            test_start_offset_ms=delay_samples,
            test_start_offset_ms=JBM_NEUTRAL_DELAY_MS,
        )
        if not cmp_result["bitexact"]:
            pytest.fail("Difference between no jbm and zero-delay jbm decoding!")