Commit 887ffd0c authored by sagnowski's avatar sagnowski
Browse files

Minor improvements in test_be_for_jbm_neutral_dly_profile.py

parent 460279d9
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,14 +90,13 @@ TESTCASES_NO_DTX = [
    # BINAURAL_SPLIT_CODED with LCLD
    ["HOA3", 128000, "BINAURAL_SPLIT_CODED"],
    ["OSBA_ISM4_FOA", 128000, "BINAURAL_SPLIT_CODED"],

]
DLY_PROFILE = SCRIPTS_DIR.joinpath("dly_error_profiles/dly_error_profile_0.dat")
JBM_NEUTRAL_DELAY_MS = 60


def is_split_rend(format) -> bool:
    return format in ["BINAURAL_SPLIT_CODED", "BINAURAL_SPLIT_PCM"]
    return format.upper() in ["BINAURAL_SPLIT_CODED", "BINAURAL_SPLIT_PCM"]


def get_options_cod(in_format, dtx):
@@ -154,6 +153,7 @@ def get_options_dec(
    if "BINAURAL_SPLIT" in output_format.upper():
        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"))])

    if is_split_rend(output_format):