Commit 406569eb authored by norvell's avatar norvell
Browse files

Merge branch 'ci/fix-cmp-pcm' into 'main'

[CI] Fix for fs in cmp_pcm.py

See merge request !1986
parents 9954944e 137d411f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ def cmp_pcm(
    cmp_result = pyaudio3dtools.audioarray.compare(
        s1,
        s2,
        fs * 1000,
        fs,
        per_frame=False,
        get_mld=get_mld,
        get_ssnr=get_ssnr,
+3 −3
Original line number Diff line number Diff line
@@ -1185,20 +1185,20 @@ def compare_dmx_signals(ref_dmx_files, dut_dmx_files, fs) -> dict:
                ref_dmx_files,
                dmx_file_ref_tmp.name,
                out_nchans=nchannels,
                in_fs=fs,
                in_fs=fs*1000,
            )
            pyaudio3dtools.audiofile.combinefiles(
                dut_dmx_files,
                dmx_file_dut_tmp.name,
                out_nchans=nchannels,
                in_fs=fs,
                in_fs=fs*1000,
            )

            dmx_differs, reason = cmp_pcm(
                dmx_file_ref_tmp.name,
                dmx_file_dut_tmp.name,
                nchannels,
                fs,
                fs*1000,
                get_mld=True,
                get_ssnr=True,
                quiet=True,