6
6
PulseAudio is free software; you can redistribute it and/or modify
7
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation; either version 2 of the License,
8
by the Free Software Foundation; either version 2.1 of the License,
9
9
or (at your option) any later version.
11
11
PulseAudio is distributed in the hope that it will be useful, but
85
87
{"disallow-module-loading", 2, 0, ARG_DISALLOW_MODULE_LOADING},
86
88
{"disallow-exit", 2, 0, ARG_DISALLOW_EXIT},
87
89
{"exit-idle-time", 2, 0, ARG_EXIT_IDLE_TIME},
88
{"module-idle-time", 2, 0, ARG_MODULE_IDLE_TIME},
89
90
{"scache-idle-time", 2, 0, ARG_SCACHE_IDLE_TIME},
90
91
{"log-target", 1, 0, ARG_LOG_TARGET},
92
{"log-meta", 2, 0, ARG_LOG_META},
93
{"log-time", 2, 0, ARG_LOG_TIME},
94
{"log-backtrace", 1, 0, ARG_LOG_BACKTRACE},
91
95
{"load", 1, 0, ARG_LOAD},
92
96
{"file", 1, 0, ARG_FILE},
93
97
{"dl-search-path", 1, 0, ARG_DL_SEARCH_PATH},
148
152
" --log-level[=LEVEL] Increase or set verbosity level\n"
149
153
" -v Increase the verbosity level\n"
150
154
" --log-target={auto,syslog,stderr} Specify the log target\n"
155
" --log-meta[=BOOL] Include code location in log messages\n"
156
" --log-time[=BOOL] Include timestamps in log messages\n"
157
" --log-backtrace=FRAMES Include a backtrace in log messages\n"
151
158
" -p, --dl-search-path=PATH Set the search path for dynamic shared\n"
152
159
" objects (plugins)\n"
153
160
" --resample-method=METHOD Use the specified resampling method\n"
332
if ((conf->log_time = optarg ? pa_parse_boolean(optarg) : TRUE) < 0) {
333
pa_log(_("--log-time expects boolean argument"));
339
if ((conf->log_meta = optarg ? pa_parse_boolean(optarg) : TRUE) < 0) {
340
pa_log(_("--log-meta expects boolean argument"));
345
case ARG_LOG_BACKTRACE:
346
conf->log_backtrace = (unsigned) atoi(optarg);
324
349
case ARG_EXIT_IDLE_TIME:
325
350
conf->exit_idle_time = atoi(optarg);
328
case ARG_MODULE_IDLE_TIME:
329
conf->module_idle_time = atoi(optarg);
332
353
case ARG_SCACHE_IDLE_TIME:
333
354
conf->scache_idle_time = atoi(optarg);