{ "pause-mode", required_argument, 0, 'P' },
{ "socket", required_argument, 0, 's' },
{ "config", required_argument, 0, 'C' },
+ { "user-config", required_argument, 0, 'u' },
{ "monitor", no_argument, 0, 'M' },
{ 0, 0, 0, 0 }
};
" --min, -m FRAMES Buffer low water mark\n"
" --max, -x FRAMES Buffer maximum size\n"
" --rcvbuf, -R BYTES Socket receive buffer size\n"
- " --config, -C PATH Set configuration file\n"
+ " --config, -C PATH Set system configuration file\n"
+ " --user-config, -u PATH Set user configuration file\n"
" --api, -A API Select audio API. Possibilities:\n"
" ");
int first = 1;
logdate = 1;
mem_init();
if(!setlocale(LC_CTYPE, "")) disorder_fatal(errno, "error calling setlocale");
- while((n = getopt_long(argc, argv, "hVdD:m:x:L:R:aocC:re:P:MA:", options, 0)) >= 0) {
+ while((n = getopt_long(argc, argv, "hVdD:m:x:L:R:aocC:u:re:P:MA:", options, 0)) >= 0) {
switch(n) {
case 'h': help();
case 'V': version("disorder-playrtp");
#endif
case 'A': backend = uaudio_find(optarg); break;
case 'C': configfile = optarg; break;
+ case 'u': userconfigfile = optarg; break;
case 's': control_socket = optarg; break;
case 'r': dumpfile = optarg; break;
case 'e': backend = &uaudio_command; uaudio_set("command", optarg); break;