]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/__init__.py
Invert no_mixing flag
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / __init__.py
index 863a23b06cccb0eeb4159ddef6fcaf45ba1da908..ce8f04bf026a55840f2a4b095f9954484c9ef6ea 100644 (file)
@@ -32,9 +32,9 @@ def parse_args():
             default="config.yml",
             required=False,
             help="Config file to load")
-    parser.add_argument("-m", "--no-mixing",
+    parser.add_argument("-m", "--builtin-mixing",
             action="store_true",
-            help="Don't make the mixing of sounds manually and let the sound system do it")
+            help="Make the mixing of sounds manually (do it if the system cannot handle it correctly)")
     parser.add_argument("-l", "--latency",
             default="high",
             required=False,
@@ -83,7 +83,7 @@ def parse_args():
     Config.frame_rate = args.frame_rate
     Config.channels = args.channels
     Config.sample_width = args.sample_width
-    Config.no_mixing = args.no_mixing
+    Config.builtin_mixing = args.builtin_mixing
 
 class SelectDeviceAction(argparse.Action):
     def __call__(self, parser, namespace, values, option_string=None):