Commit d183a2db authored by sletz's avatar sletz
Browse files

Add -p as launch parameter again to make Ardour happy...

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2713 0c269be4-1314-0410-8aa9-9f06e86f4224
parent a73d9728
......@@ -156,7 +156,7 @@ int main(int argc, char* argv[])
const JSList * server_parameters;
const char* server_name = "default";
jackctl_driver_t * driver_ctl;
const char *options = "-ad:P:uvrshVRL:STFl:t:mn:";
const char *options = "-ad:P:uvrshVRL:STFl:t:mn:p:";
struct option long_options[] = {
{ "driver", 1, 0, 'd' },
{ "verbose", 0, 0, 'v' },
......@@ -182,6 +182,7 @@ int main(int argc, char* argv[])
char *driver_name = NULL;
char **driver_args = NULL;
int driver_nargs = 1;
int port_max;
bool show_version = false;
sigset_t signals;
jackctl_parameter_t* param;
......@@ -207,6 +208,10 @@ int main(int argc, char* argv[])
seen_driver = true;
driver_name = optarg;
break;
case 'p':
port_max = (unsigned int)atol(optarg);
break;
case 'v':
param = jackctl_get_parameter(server_parameters, "verbose");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment