Commit 8009f2af authored by norvell's avatar norvell
Browse files

Merge branch 'ci/fixes-for-evs-objective-measures-evaluation' into 'main'

[CI] Fix for test_26444.py when getting objective measures

See merge request !1840
parents 26abec71 9593a853
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ IVAS_CATEGORIES = {
EVS_CATEGORIES = {
    "Normal operation": r".*",
    "DTX": r"DTX",
    "PLC": r"b10|f06",
    "PLC": r"b10|f06|EPF",
    "Bitrate switching": r"sw",
    "JBM": r"JBM",
}
+4 −4
Original line number Diff line number Diff line
@@ -144,8 +144,8 @@ def test_evs_26444(
            if enc_opts:
                for file in [ref, test]:
                    output_config = ""  # Empty for EVS operation
                    in_file = file
                    out_file = file + ".wav"
                    in_file = os.path.abspath(file)
                    out_file = os.path.abspath(file + ".wav")
                    add_option_list = []
                    ref_decoder_frontend.run(
                        output_config,
@@ -155,8 +155,8 @@ def test_evs_26444(
                        add_option_list=add_option_list,
                    )
                fs = int(sampling_rate) * 1000
                reffile = ref + ".wav"
                testfile = test + ".wav"
                reffile = os.path.abspath(ref + ".wav")
                testfile = os.path.abspath(test + ".wav")
            else:
                fs = int(re.search(r"(\d+)kHz", ref).group(1)) * 1000
                # pyaudio3dtools.audiofile.readfile only handles .wav, .pcm and .raw suffixes.