Commit 5859d8ba authored by Vidhya V P's avatar Vidhya V P
Browse files

Added new test case for DTX & SBA BR switching

parent d3b6ebd4
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -581,6 +581,10 @@
../IVAS_cod -dtx -sba 1 ../scripts/switchPaths/sw_13k2_192k_50fr.bin 32 testv/stvFOA32c.pcm bit
../IVAS_dec BINAURAL 32 bit testv/stvFOA32c.pcm_sw_32-32_DTX_BINAURAL.tst

// SBA 3OA bitrate switching from 13.2 kbps to 128 kbps, 32kHz in, 32kHz out,DTX on, HOA3 out
../IVAS_cod -dtx -sba 3 ../scripts/switchPaths/sw_13k2_to_128k_10fr.bin 32 testv/stv3OA32c.pcm bit
../IVAS_dec HOA3 32 bit testv/stv3OA32c.pcm_sw_32-32_DTX_HOA3.tst

// MASA 1dir 1TC at 13.2 kbps, 48kHz in, 48kHz out, BINAURAL out
../IVAS_cod -masa 1 testv/stv_IVASMASA_1dir1TC.met 13200 48 testv/stv_IVASMASA_1dir1TC.pcm bit
../IVAS_dec BINAURAL 48 bit testv/stv_IVASMASA_1dir1TC.pcm_13200_48-48_BINAURAL.tst
+1 −0
Original line number Diff line number Diff line
@@ -360,6 +360,7 @@ def pre_proc_input(testv_file, fs):
        num_channel = "9"
    elif "stv3OA" in testv_file:
        num_channel = "16"
        cut_len = "20.0"
    cut_file = testv_file.replace(".pcm", num_channel + "chn_" + cut_gain + ".pcm")
    cut_samples(
        testv_file, cut_file, num_channel, fs + "000", cut_from, cut_len, cut_gain