Loading tests/binaural/test_binaural.py +1 −4 Original line number Diff line number Diff line Loading @@ -38,10 +38,7 @@ from tests.binaural.utils import * @pytest.mark.parametrize("out_fs", SAMPLE_RATE) def test_binary_file(test_info, out_fs): check_binary_file( test_info, out_fs, ) check_binary_file(out_fs) """ Multichannel """ Loading tests/binaural/utils.py +2 −2 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ def get_option_list_str(option_list): return option_list_str def check_binary_file(test_info, out_fs): def check_binary_file(out_fs): with open(str(HRTF_BINARY_DIR.joinpath(HRTF_BINARY_FILE.format(out_fs))), 'rb') as file: Loading Loading @@ -300,7 +300,7 @@ def compare_rom_vs_binary( option_str = "_".join(get_option_list_str(option_list_enc)) file_ext = f"_{option_str}_{bitrate}_{in_fs}-{out_fs}_{out_fmt}" check_binary_file(out_fs) #check_binary_file(out_fs) input_path = TESTV_DIR.joinpath(in_file).with_suffix(".wav") bitstream_path = BITSTREAM_DIR.joinpath(in_file + file_ext) Loading Loading
tests/binaural/test_binaural.py +1 −4 Original line number Diff line number Diff line Loading @@ -38,10 +38,7 @@ from tests.binaural.utils import * @pytest.mark.parametrize("out_fs", SAMPLE_RATE) def test_binary_file(test_info, out_fs): check_binary_file( test_info, out_fs, ) check_binary_file(out_fs) """ Multichannel """ Loading
tests/binaural/utils.py +2 −2 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ def get_option_list_str(option_list): return option_list_str def check_binary_file(test_info, out_fs): def check_binary_file(out_fs): with open(str(HRTF_BINARY_DIR.joinpath(HRTF_BINARY_FILE.format(out_fs))), 'rb') as file: Loading Loading @@ -300,7 +300,7 @@ def compare_rom_vs_binary( option_str = "_".join(get_option_list_str(option_list_enc)) file_ext = f"_{option_str}_{bitrate}_{in_fs}-{out_fs}_{out_fmt}" check_binary_file(out_fs) #check_binary_file(out_fs) input_path = TESTV_DIR.joinpath(in_file).with_suffix(".wav") bitstream_path = BITSTREAM_DIR.joinpath(in_file + file_ext) Loading