X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=helpers%2F__init__.py;h=ce8f04bf026a55840f2a4b095f9954484c9ef6ea;hb=d6290f14246b69e10a73e2798dd3905e866b3e88;hp=863a23b06cccb0eeb4159ddef6fcaf45ba1da908;hpb=af27d78259265bdada147757cd64488f44dd524d;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git 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(): 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):