From e5f7aef2e7006a7d9871035a9af2e44b6fdc4732 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 8 Oct 2025 15:49:59 +0200 Subject: [PATCH 1/2] skip BINAURAL_SPLIT* output formats in BASOP for now --- tests/test_be_for_jbm_neutral_dly_profile.py | 24 ++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/tests/test_be_for_jbm_neutral_dly_profile.py b/tests/test_be_for_jbm_neutral_dly_profile.py index 3d424ef0db..1daac6e4cb 100644 --- a/tests/test_be_for_jbm_neutral_dly_profile.py +++ b/tests/test_be_for_jbm_neutral_dly_profile.py @@ -155,7 +155,12 @@ def get_options_dec( options = [] if "BINAURAL_SPLIT" in output_format.upper(): - options.extend(["-render_config", str(RENDER_CFG_DIR / "split_renderer_config_3dof_512k_default.txt")]) + options.extend( + [ + "-render_config", + str(RENDER_CFG_DIR / "split_renderer_config_3dof_512k_default.txt"), + ] + ) if output_format.upper() == "BINAURAL_SPLIT_PCM": options.extend(["-om", str(output_file.with_suffix(".isarmd"))]) @@ -210,6 +215,7 @@ OUTPUT_FOLDER_IF_KEEP_FILES_NEUTRAL = OUTPUT_FOLDER_IF_KEEP_FILES.joinpath( "neutral-profile" ) + def compare_audio(non_voip_output, voip_output, sampling_rate_khz): # compare no-jbm and jbm output x, _ = audiofile.readfile(non_voip_output) @@ -237,6 +243,7 @@ def compare_isar_files(non_voip_isar, voip_isar): "Difference between no jbm and zero-delay jbm decoding found! ISAR files differ" ) + @pytest.mark.parametrize( "in_format,bitrate,out_format", TESTCASES_NO_DTX + TESTCASES_WITH_DTX ) @@ -249,6 +256,9 @@ def test_be_for_jbm_neutral_dly_profile_no_dtx( dut_postrend_frontend, keep_files, ): + if out_format == "BINAURAL_SPLIT_CODED" or out_format == "BINAURAL_SPLIT_PCM": + pytest.mark.skip(f"{out_format} skipped in BASOP until suported properly") + run_test( in_format, bitrate, @@ -354,7 +364,9 @@ def run_test( ) # run decoder with network simulation - output_jbm = output_dir_neutral.joinpath(output.with_suffix(f".jbm-0.{output_ext}").name) + output_jbm = output_dir_neutral.joinpath( + output.with_suffix(f".jbm-0.{output_ext}").name + ) voip_options = get_options_dec(out_format, output_jbm, is_voip=True) dut_decoder_frontend.run( out_format, @@ -386,7 +398,9 @@ def run_test( return # Render non-voip output - postrend_output = output_dir_no_jbm.joinpath(output.with_suffix(".postrend.wav").name) + postrend_output = output_dir_no_jbm.joinpath( + output.with_suffix(".postrend.wav").name + ) dut_postrend_frontend.run( sampling_rate_khz, output, @@ -396,7 +410,9 @@ def run_test( ) # Render voip output - postrend_output_voip = output_dir_neutral.joinpath(output_jbm.with_suffix(".postrend.wav").name) + postrend_output_voip = output_dir_neutral.joinpath( + output_jbm.with_suffix(".postrend.wav").name + ) dut_postrend_frontend.run( sampling_rate_khz, output_jbm, -- GitLab From 20d94c8241883524e2264e471cc28f48c63f53e8 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Wed, 8 Oct 2025 15:56:37 +0200 Subject: [PATCH 2/2] fix skip command typo --- tests/test_be_for_jbm_neutral_dly_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_be_for_jbm_neutral_dly_profile.py b/tests/test_be_for_jbm_neutral_dly_profile.py index 1daac6e4cb..ce81d091c7 100644 --- a/tests/test_be_for_jbm_neutral_dly_profile.py +++ b/tests/test_be_for_jbm_neutral_dly_profile.py @@ -257,7 +257,7 @@ def test_be_for_jbm_neutral_dly_profile_no_dtx( keep_files, ): if out_format == "BINAURAL_SPLIT_CODED" or out_format == "BINAURAL_SPLIT_PCM": - pytest.mark.skip(f"{out_format} skipped in BASOP until suported properly") + pytest.skip(f"{out_format} skipped in BASOP until suported properly") run_test( in_format, -- GitLab