diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-07-16 01:43:18 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-07-16 01:43:18 +0000 |
commit | 4cbd55491dd86ea99e1ea8190a20bd13e0f328ae (patch) | |
tree | 4e85a9ef44fea72ab6fb02bbe22d33af260c936b /pd/src/s_main.c | |
parent | ad9d49bf213f525d122656fc7dc55287b9ae00f0 (diff) |
fixed bugs, adopted some patches.
svn path=/trunk/; revision=3347
Diffstat (limited to 'pd/src/s_main.c')
-rw-r--r-- | pd/src/s_main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pd/src/s_main.c b/pd/src/s_main.c index a8030f40..1aa106d6 100644 --- a/pd/src/s_main.c +++ b/pd/src/s_main.c @@ -2,7 +2,7 @@ * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ -char pd_version[] = "Pd version 0.39 TEST 3\n"; +char pd_version[] = "Pd version 0.39 TEST 4\n"; char pd_compiletime[] = __TIME__; char pd_compiledate[] = __DATE__; @@ -346,6 +346,10 @@ static char *(usagemessage[]) = { "-nomidiin -- suppress MIDI input\n", "-nomidiout -- suppress MIDI output\n", "-nomidi -- suppress MIDI input and output\n", +#ifdef USEAPI_ALSA +"-alsamidi -- use ALSA midi API\n", +#endif + "\nother flags:\n", "-path <path> -- add to file search path\n", @@ -604,6 +608,11 @@ int sys_argparse(int argc, char **argv) else goto usage; argc -= 2; argv +=2; } + else if (!strcmp(*argv, "-alsamidi")) + { + sys_set_midi_api(API_ALSA); + argc--; argv++; + } #endif #ifdef USEAPI_JACK else if (!strcmp(*argv, "-jack")) |