Loading tests/test_sba_bs_enc.py +11 −8 Original line number Diff line number Diff line Loading @@ -119,7 +119,8 @@ def test_bypass_enc( bypass, agc, sba_order, update_ref update_ref, cut_testv=True ) # dec Loading Loading @@ -195,7 +196,8 @@ def test_sba_enc_system( sba_order, update_ref, cut_gain=cut_gain, create_dutenc=True create_dutenc=True, cut_testv=True ) # dec Loading Loading @@ -259,7 +261,6 @@ def test_spar_hoa2_enc_system( agc, sba_order, update_ref, '.wav' ) # dec Loading Loading @@ -323,7 +324,6 @@ def test_spar_hoa3_enc_system( agc, sba_order, update_ref, '.wav' ) # dec Loading Loading @@ -392,7 +392,8 @@ def test_sba_enc_BWforce_system( bypass, agc, sba_order, update_ref update_ref, cut_testv=True ) # dec Loading Loading @@ -431,9 +432,9 @@ def sba_enc( agc, sba_order, update_ref, in_extension='.pcm', cut_gain='1.0', create_dutenc=False create_dutenc=False, cut_testv=False ): # ------------ run cmd ------------ Loading @@ -443,6 +444,8 @@ def sba_enc( check_and_makedir(dut_out_dir) check_and_makedir(ref_out_dir) in_extension = ".wav" tag_in = tag # sampling rate to BW mapping bw_idx = dict_fsample_bw[sampling_rate] Loading @@ -468,7 +471,7 @@ def sba_enc( bypass_mode = bypass if bypass >= 0 else None dtx_mode = dtx == '1' if in_extension == '.pcm': if cut_testv: # use shortened and potentially gain adjusted input PCM file - create if not present # cut input PCM file: currently with mostly fixed (i.e. not test dependant) values num_channels = "4" # currently only FOA inputs end up, here Loading Loading
tests/test_sba_bs_enc.py +11 −8 Original line number Diff line number Diff line Loading @@ -119,7 +119,8 @@ def test_bypass_enc( bypass, agc, sba_order, update_ref update_ref, cut_testv=True ) # dec Loading Loading @@ -195,7 +196,8 @@ def test_sba_enc_system( sba_order, update_ref, cut_gain=cut_gain, create_dutenc=True create_dutenc=True, cut_testv=True ) # dec Loading Loading @@ -259,7 +261,6 @@ def test_spar_hoa2_enc_system( agc, sba_order, update_ref, '.wav' ) # dec Loading Loading @@ -323,7 +324,6 @@ def test_spar_hoa3_enc_system( agc, sba_order, update_ref, '.wav' ) # dec Loading Loading @@ -392,7 +392,8 @@ def test_sba_enc_BWforce_system( bypass, agc, sba_order, update_ref update_ref, cut_testv=True ) # dec Loading Loading @@ -431,9 +432,9 @@ def sba_enc( agc, sba_order, update_ref, in_extension='.pcm', cut_gain='1.0', create_dutenc=False create_dutenc=False, cut_testv=False ): # ------------ run cmd ------------ Loading @@ -443,6 +444,8 @@ def sba_enc( check_and_makedir(dut_out_dir) check_and_makedir(ref_out_dir) in_extension = ".wav" tag_in = tag # sampling rate to BW mapping bw_idx = dict_fsample_bw[sampling_rate] Loading @@ -468,7 +471,7 @@ def sba_enc( bypass_mode = bypass if bypass >= 0 else None dtx_mode = dtx == '1' if in_extension == '.pcm': if cut_testv: # use shortened and potentially gain adjusted input PCM file - create if not present # cut input PCM file: currently with mostly fixed (i.e. not test dependant) values num_channels = "4" # currently only FOA inputs end up, here Loading