Commit 80dee299 authored by multrus's avatar multrus
Browse files

formatting

parent bb17591c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ def create_error_pattern(
        gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test)
        if not tmp_sta_file_test.exists():
            raise RuntimeError(
                "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details."
                'Used version of gen-patt was detected to be faulty (unable to write "sta"-file). See bin/README.md for details.'
            )

    with TemporaryDirectory() as tmp_dir:
+10 −4
Original line number Diff line number Diff line
@@ -188,7 +188,13 @@ class EVS(Processing):
        logger.debug(f"Running EVS encoders for {out_file.stem.split('.')[0]}")
        apply_func_parallel(
            self.enc,
            zip(split_chan_files, split_chan_bs, self.bitrate,  self.proc_chan_lfe_9k6bps_nb, repeat(logger)),
            zip(
                split_chan_files,
                split_chan_bs,
                self.bitrate,
                self.proc_chan_lfe_9k6bps_nb,
                repeat(logger),
            ),
            None,
            "mt" if self.multiprocessing else None,
            show_progress=False,
@@ -269,7 +275,7 @@ class EVS(Processing):
        if proc_chan_lfe_9k6bps_nb is True:
            cod_opts = []
            # search for -max_band XXX
            regex = re.compile(r'-max_band.*', re.I)
            regex = re.compile(r"-max_band.*", re.I)
            last_was_max_band = False
            for i in self.cod_opts:
                # the additional arguments are expected in form of a list, where "-max_band" are "SWB" are two entries
@@ -283,8 +289,8 @@ class EVS(Processing):
                    cod_opts.append(i)
                    last_was_max_band = False
            # add -max_band NB
            cod_opts.append('-max_band')
            cod_opts.append('NB')
            cod_opts.append("-max_band")
            cod_opts.append("NB")
        else:
            cod_opts = self.cod_opts

+1 −1

File changed.

Contains only whitespace changes.