alsa: New modarg "paths_dir" for module-alsa-card

The new module argument can be used to provide a custom
directory for loading alsa path configuration files. This is
useful for testing: no need to be root to create test
configuration files.
This commit is contained in:
Tanu Kaskinen 2011-10-06 23:09:15 +03:00 committed by Arun Raghavan
parent ca6057316d
commit a88b1d5cd4
5 changed files with 30 additions and 11 deletions

View file

@ -66,7 +66,9 @@ PA_MODULE_USAGE(
"profile=<profile name> "
"ignore_dB=<ignore dB information from the device?> "
"deferred_volume=<Synchronize software and hardware volume changes to avoid momentary jumps?> "
"profile_set=<profile set configuration file> ");
"profile_set=<profile set configuration file> "
"paths_dir=<directory containing the path configuration files> "
);
static const char* const valid_modargs[] = {
"name",
@ -90,6 +92,7 @@ static const char* const valid_modargs[] = {
"ignore_dB",
"deferred_volume",
"profile_set",
"paths_dir",
NULL
};