diff --git a/tests/cmp_pcm.py b/tests/cmp_pcm.py index 8bb4dd92f43841e827c103a4fd47d46a7ee00dc2..c19bf6a6d9a85d9f7464c84e7e5aec12a4951545 100755 --- a/tests/cmp_pcm.py +++ b/tests/cmp_pcm.py @@ -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, diff --git a/tests/conftest.py b/tests/conftest.py index 853412cb180d5afc3899956309082e3398e04722..1fd548641756c62ec2caca1954059152ebc95f2f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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,