diff options
author | Colin Guthrie <colin@mageia.org> | 2011-04-14 13:00:58 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-04-18 10:31:51 +0200 |
commit | 34658927a3821cfc411703962af08fd3c334c277 (patch) | |
tree | bfe87b4bbd5f1cc722d253a9027e120ee3a41978 /src | |
parent | aaab340d4e3c57d58755151310f59a0ee96554b1 (diff) |
equalizer: Use sink_master as the module argument rather than just master.
This brings more uniformity to arguments to match module-echo-cancel
(which needs both sink and source masters, hence the disambiguation).
This will allow other modules to load filters in a more uniform way
in the future without kludges to deal with variation in arguments.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-equalizer-sink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c index bb350c38..0bbb23a8 100644 --- a/src/modules/module-equalizer-sink.c +++ b/src/modules/module-equalizer-sink.c @@ -79,7 +79,7 @@ PA_MODULE_LOAD_ONCE(FALSE); PA_MODULE_USAGE( _("sink_name=<name of the sink> " "sink_properties=<properties for the sink> " - "master=<sink to connect to> " + "sink_master=<sink to connect to> " "format=<sample format> " "rate=<sample rate> " "channels=<number of channels> " @@ -133,7 +133,7 @@ struct userdata { static const char* const valid_modargs[] = { "sink_name", "sink_properties", - "master", + "sink_master", "format", "rate", "channels", @@ -1088,7 +1088,7 @@ int pa__init(pa_module*m) { goto fail; } - if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "master", NULL), PA_NAMEREG_SINK))) { + if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "sink_master", NULL), PA_NAMEREG_SINK))) { pa_log("Master sink not found"); goto fail; } |