]> code.delx.au - pulseaudio/commitdiff
alsa: Tidy up argument descriptions
authorColin Guthrie <colin@mageia.org>
Wed, 7 Sep 2011 20:11:58 +0000 (21:11 +0100)
committerColin Guthrie <colin@mageia.org>
Wed, 7 Sep 2011 20:16:03 +0000 (21:16 +0100)
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/alsa/module-alsa-card.c
src/modules/alsa/module-alsa-sink.c
src/modules/alsa/module-alsa-source.c

index 2394455ce7c989c57817243fc8d6e3b7918a3b6f..7d205bfebf324fb9f46a14157dc94645d2e5e9d0 100644 (file)
@@ -2108,7 +2108,7 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, const char*driver, pa_ca
      * variable is impossible. */
     namereg_fail = data.namereg_fail;
     if (pa_modargs_get_value_boolean(ma, "namereg_fail", &namereg_fail) < 0) {
-        pa_log("Failed to parse boolean argument namereg_fail.");
+        pa_log("Failed to parse namereg_fail argument.");
         pa_sink_new_data_done(&data);
         goto fail;
     }
index fa8d892836aad02e086b1893d7e71d955f6a6195..fa500a151627fabd2077a9be5b08f6c51ea1ee31 100644 (file)
@@ -1809,7 +1809,7 @@ pa_source *pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, p
      * variable is impossible. */
     namereg_fail = data.namereg_fail;
     if (pa_modargs_get_value_boolean(ma, "namereg_fail", &namereg_fail) < 0) {
-        pa_log("Failed to parse boolean argument namereg_fail.");
+        pa_log("Failed to parse namereg_fail argument.");
         pa_source_new_data_done(&data);
         goto fail;
     }
index 8b19d42b78af67266b02b65e36aea5d431360bd9..7c6b778c63202018c95779aa43b5747678610fa8 100644 (file)
@@ -53,7 +53,7 @@ PA_MODULE_USAGE(
         "sink_properties=<properties for the sink> "
         "source_name=<name for the source> "
         "source_properties=<properties for the source> "
-        "namereg_fail=<pa_namereg_register() fail parameter value> "
+        "namereg_fail=<when false attempt to synthesise new names if they are already taken> "
         "device_id=<ALSA card index> "
         "format=<sample format> "
         "rate=<sample rate> "
@@ -360,7 +360,7 @@ int pa__init(pa_module *m) {
      * variable is impossible. */
     namereg_fail = data.namereg_fail;
     if (pa_modargs_get_value_boolean(ma, "namereg_fail", &namereg_fail) < 0) {
-        pa_log("Failed to parse boolean argument namereg_fail.");
+        pa_log("Failed to parse namereg_fail argument.");
         pa_card_new_data_done(&data);
         goto fail;
     }
index 6e64ab31de8824062f86f6225c5cdbc5d692edfc..800fd838f599f4819500408b266eb60c6e418499 100644 (file)
@@ -40,7 +40,7 @@ PA_MODULE_USAGE(
         "name=<name of the sink, to be prefixed> "
         "sink_name=<name for the sink> "
         "sink_properties=<properties for the sink> "
-        "namereg_fail=<pa_namereg_register() fail parameter value> "
+        "namereg_fail=<when false attempt to synthesise new sink_name if it is already taken> "
         "device=<ALSA device> "
         "device_id=<ALSA card index> "
         "format=<sample format> "
index 5ecd1e340c1adde1441aa84855a754426049f4cc..46c11766604638b4c13b04a3291c03c1f929c169 100644 (file)
@@ -49,7 +49,7 @@ PA_MODULE_USAGE(
         "name=<name for the source, to be prefixed> "
         "source_name=<name for the source> "
         "source_properties=<properties for the source> "
-        "namereg_fail=<pa_namereg_register() fail parameter value> "
+        "namereg_fail=<when false attempt to synthesise new source_name if it is already taken> "
         "device=<ALSA device> "
         "device_id=<ALSA card index> "
         "format=<sample format> "