Commit 1adeb8a8 authored by lefort's avatar lefort
Browse files

Corrected.

parent d7125ade
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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 """

+2 −2
Original line number Diff line number Diff line
@@ -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:
        
@@ -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)