Loading tests/codec_be_on_mr_nonselection/test_masa_enc_dec.py +2 −2 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ def test_masa_enc_dec( # Compare audio outputs pcmcmp_res, reason = cmp_pcm( dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 Loading @@ -226,7 +226,7 @@ def test_masa_enc_dec( filecmp_res = cmp(dec_output_ref, dec_output_dut) if filecmp_res == False: cmp_result, reason = cmp_pcm( dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 Loading tests/codec_be_on_mr_nonselection/test_sba_bs_dec_plc.py +3 −1 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ def test_sba_plc_system( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -143,6 +144,7 @@ def sba_dec_plc( gain_flag, keep_files, get_mld=False, get_mld_lim=0, ): # ------------ run cmd ------------ Loading Loading @@ -193,7 +195,7 @@ def sba_dec_plc( # -------------- compare cmd -------------- fs = int(sampling_rate) * 1000 cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld) cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld, mld_lim=get_mld_lim) if get_mld: mld = 0 if "MLD" in reason: Loading tests/codec_be_on_mr_nonselection/test_sba_bs_enc.py +5 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,7 @@ def test_pca_enc( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, pca=pca, ) Loading Loading @@ -246,6 +247,7 @@ def test_sba_enc_system( gain_flag, keep_files, get_mld=get_mld get_mld_lim=get_mld_lim ) Loading Loading @@ -311,6 +313,7 @@ def test_spar_hoa2_enc_system( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -613,6 +616,7 @@ def sba_dec( gain_flag, keep_files, get_mld=False, get_mld_lim=0, pca=False, ): # -------- run cmd ------------ Loading Loading @@ -667,7 +671,7 @@ def sba_dec( ) fs = int(sampling_rate) * 1000 cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld) cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 if "MLD" in reason: Loading Loading
tests/codec_be_on_mr_nonselection/test_masa_enc_dec.py +2 −2 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ def test_masa_enc_dec( # Compare audio outputs pcmcmp_res, reason = cmp_pcm( dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 Loading @@ -226,7 +226,7 @@ def test_masa_enc_dec( filecmp_res = cmp(dec_output_ref, dec_output_dut) if filecmp_res == False: cmp_result, reason = cmp_pcm( dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld dec_output_dut, dec_output_ref, output_mode, int(out_fs * 1000), get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 Loading
tests/codec_be_on_mr_nonselection/test_sba_bs_dec_plc.py +3 −1 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ def test_sba_plc_system( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -143,6 +144,7 @@ def sba_dec_plc( gain_flag, keep_files, get_mld=False, get_mld_lim=0, ): # ------------ run cmd ------------ Loading Loading @@ -193,7 +195,7 @@ def sba_dec_plc( # -------------- compare cmd -------------- fs = int(sampling_rate) * 1000 cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld) cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld, mld_lim=get_mld_lim) if get_mld: mld = 0 if "MLD" in reason: Loading
tests/codec_be_on_mr_nonselection/test_sba_bs_enc.py +5 −1 Original line number Diff line number Diff line Loading @@ -151,6 +151,7 @@ def test_pca_enc( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, pca=pca, ) Loading Loading @@ -246,6 +247,7 @@ def test_sba_enc_system( gain_flag, keep_files, get_mld=get_mld get_mld_lim=get_mld_lim ) Loading Loading @@ -311,6 +313,7 @@ def test_spar_hoa2_enc_system( gain_flag, keep_files, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -613,6 +616,7 @@ def sba_dec( gain_flag, keep_files, get_mld=False, get_mld_lim=0, pca=False, ): # -------- run cmd ------------ Loading Loading @@ -667,7 +671,7 @@ def sba_dec( ) fs = int(sampling_rate) * 1000 cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld) cmp_result, reason = cmp_pcm(dut_out_raw, ref_out_raw, output_config, fs, get_mld=get_mld, mld_lim=get_mld_lim ) if get_mld: mld = 0 if "MLD" in reason: Loading