Commit 5aff87b6 authored by vaclav's avatar vaclav
Browse files

fixes ro SBA pytest script

parent 560ba60a
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ def test_spar_hoa2_enc_system(
    dtx = '0'
    agc = -1

#    tag = tag + '_' + fs + 'k'
    tag = tag + fs + 'c'
    max_bw = "FB"
    bypass = -1
    sba_order = "+2"
@@ -301,7 +301,7 @@ def test_spar_hoa3_enc_system(
    dtx = '0'
    agc = -1

#    tag = tag + '_' + fs + 'k'
    tag = tag + fs + 'c'
    max_bw = "FB"
    bypass = -1
    sba_order = "+3"
@@ -431,7 +431,7 @@ def sba_enc(
    agc,
    sba_order,
    update_ref,
    in_extension='.wav',
    in_extension='.pcm',
    cut_gain='1.0',
    create_dutenc=False
):
@@ -468,7 +468,7 @@ def sba_enc(
    bypass_mode = bypass if bypass >= 0 else None
    dtx_mode = dtx == '1'

    if in_extension == '.wav':
    if in_extension == '.pcm':
        # 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