aboutsummaryrefslogtreecommitdiff
path: root/helpers/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/__init__.py')
-rw-r--r--helpers/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/__init__.py b/helpers/__init__.py
index 807aa44..863a23b 100644
--- a/helpers/__init__.py
+++ b/helpers/__init__.py
@@ -32,6 +32,9 @@ def parse_args():
32 default="config.yml", 32 default="config.yml",
33 required=False, 33 required=False,
34 help="Config file to load") 34 help="Config file to load")
35 parser.add_argument("-m", "--no-mixing",
36 action="store_true",
37 help="Don't make the mixing of sounds manually and let the sound system do it")
35 parser.add_argument("-l", "--latency", 38 parser.add_argument("-l", "--latency",
36 default="high", 39 default="high",
37 required=False, 40 required=False,
@@ -80,6 +83,7 @@ def parse_args():
80 Config.frame_rate = args.frame_rate 83 Config.frame_rate = args.frame_rate
81 Config.channels = args.channels 84 Config.channels = args.channels
82 Config.sample_width = args.sample_width 85 Config.sample_width = args.sample_width
86 Config.no_mixing = args.no_mixing
83 87
84class SelectDeviceAction(argparse.Action): 88class SelectDeviceAction(argparse.Action):
85 def __call__(self, parser, namespace, values, option_string=None): 89 def __call__(self, parser, namespace, values, option_string=None):