aboutsummaryrefslogtreecommitdiff
path: root/helpers/__init__.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-17 15:19:02 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-17 15:19:02 +0200
commitd6290f14246b69e10a73e2798dd3905e866b3e88 (patch)
tree0f41864c0be7ad806ee4cef79ada2cee81aa8283 /helpers/__init__.py
parentaf27d78259265bdada147757cd64488f44dd524d (diff)
downloadMusicSampler-d6290f14246b69e10a73e2798dd3905e866b3e88.tar.gz
MusicSampler-d6290f14246b69e10a73e2798dd3905e866b3e88.tar.zst
MusicSampler-d6290f14246b69e10a73e2798dd3905e866b3e88.zip
Invert no_mixing flag
Diffstat (limited to 'helpers/__init__.py')
-rw-r--r--helpers/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/__init__.py b/helpers/__init__.py
index 863a23b..ce8f04b 100644
--- a/helpers/__init__.py
+++ b/helpers/__init__.py
@@ -32,9 +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", 35 parser.add_argument("-m", "--builtin-mixing",
36 action="store_true", 36 action="store_true",
37 help="Don't make the mixing of sounds manually and let the sound system do it") 37 help="Make the mixing of sounds manually (do it if the system cannot handle it correctly)")
38 parser.add_argument("-l", "--latency", 38 parser.add_argument("-l", "--latency",
39 default="high", 39 default="high",
40 required=False, 40 required=False,
@@ -83,7 +83,7 @@ def parse_args():
83 Config.frame_rate = args.frame_rate 83 Config.frame_rate = args.frame_rate
84 Config.channels = args.channels 84 Config.channels = args.channels
85 Config.sample_width = args.sample_width 85 Config.sample_width = args.sample_width
86 Config.no_mixing = args.no_mixing 86 Config.builtin_mixing = args.builtin_mixing
87 87
88class SelectDeviceAction(argparse.Action): 88class SelectDeviceAction(argparse.Action):
89 def __call__(self, parser, namespace, values, option_string=None): 89 def __call__(self, parser, namespace, values, option_string=None):