Commit a9cb8a28 authored by norvell's avatar norvell
Browse files

Add mono to PEAQ supported outputs

parent 31ae0bc9
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -117,7 +117,8 @@ INPUT_FMT = [
    (r"-ism_sba\s?4\s?2", "OSBA_4_2"),
]

TWO_CHAN_FMT = [
PEAQ_SUPPORTED_FMT = [
    "MONO",
    "STEREO",
    "BINAURAL",
    "BINAURAL_ROOM_IR",
@@ -482,7 +483,7 @@ def test_param_file_tests(
            if re.search(a, enc_opts)
        ][0][1]

        if not output_config in TWO_CHAN_FMT:
        if not output_config in PEAQ_SUPPORTED_FMT:
            # Render output
            output_reformat = "BINAURAL"

@@ -513,10 +514,10 @@ def test_param_file_tests(
            # Use binauralized file for comparison
            dut_output_file = dut_output_file_binaural

        if not in_fmt in TWO_CHAN_FMT:
        if not in_fmt in PEAQ_SUPPORTED_FMT:
            # Render input
            out_fmt = output_config
            if not out_fmt in TWO_CHAN_FMT:
            if not out_fmt in PEAQ_SUPPORTED_FMT:
                out_fmt = "BINAURAL"
            
            check_and_makedir(str(Path(ref_output_file_binaural).parent))