Commit b0cab6a0 authored by vaclav's avatar vaclav
Browse files

fix scripts

parent e85b554d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ ivas_br_HOA2 = ["256000", "384000", "512000"]
ivas_br_HOA3 = ["256000", "384000", "512000"]
SID_list = [0, 1]
sample_rate_list = ["48", "32", "16"]
bypass_list = [1, 2]
bypass_list = [ ]
gain_list = [0, 1]

sample_rate_bw_idx_list = [("48", "SWB"), ("48", "WB"), ("32", "WB")]
+3 −3
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ class EncoderFrontend:
        sba_order: Optional[str] = None,
        dtx_mode: Optional[bool] = False,
        max_band: Optional[str] = None,
        pca_mode: Optional[int] = None,
        bypass_mode: Optional[int] = None,
        quiet_mode: Optional[bool] = True,
        add_option_list: Optional[list] = None,
    ) -> None:
@@ -239,8 +239,8 @@ class EncoderFrontend:
        if max_band is not None:
            command.extend(["-max_band", max_band])

        if pca_mode is not None:
            command.extend(["-pca", str(pca_mode)])
        if bypass_mode is not None:
            command.extend(["-pca", str(bypass_mode)])

        if quiet_mode:
            command.extend(["-q"])