]> code.delx.au - pulseaudio/commitdiff
Fix typos
authorZhang Wanming <wanming.zhang@tieto.com>
Mon, 20 Dec 2010 09:20:57 +0000 (17:20 +0800)
committerColin Guthrie <cguthrie@mandriva.org>
Mon, 20 Dec 2010 11:07:30 +0000 (11:07 +0000)
src/daemon/main.c
src/modules/alsa/alsa-mixer.c
src/modules/module-card-restore.c
src/modules/module-device-manager.c
src/modules/module-device-restore.c
src/modules/module-pipe-source.c
src/modules/module-rescue-streams.c
src/modules/module-stream-restore.c
src/pulsecore/pdispatch.c
src/pulsecore/pid.c

index f9fcc9253ce9314d0359ea1889bd9f94a4f8fcdb..cad6f70d7bc136d13f365953bb6e77be26613c74 100644 (file)
@@ -926,7 +926,7 @@ int main(int argc, char *argv[]) {
         if (mlockall(MCL_FUTURE) < 0)
             pa_log_warn("mlockall() failed: %s", pa_cstrerror(errno));
         else
-            pa_log_info("Sucessfully locked process into memory.");
+            pa_log_info("Successfully locked process into memory.");
 #else
         pa_log_warn("Memory locking requested but not supported on platform.");
 #endif
index b3ec57ee62a865feae72eb64586169b7aef5ffa9..946cbe247b1548abe5e5a86022d8994d7162f35e 100644 (file)
@@ -991,7 +991,7 @@ static int element_mute_volume(pa_alsa_element *e, snd_mixer_t *m) {
         r = snd_mixer_selem_set_capture_volume_all(me, e->min_volume);
 
     if (r < 0)
-        pa_log_warn("Faile to set volume to muted of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
+        pa_log_warn("Failed to set volume to muted of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
 
     return r;
 }
@@ -1017,7 +1017,7 @@ static int element_zero_volume(pa_alsa_element *e, snd_mixer_t *m) {
         r = snd_mixer_selem_set_capture_dB_all(me, 0, +1);
 
     if (r < 0)
-        pa_log_warn("Faile to set volume to 0dB of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
+        pa_log_warn("Failed to set volume to 0dB of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
 
     return r;
 }
@@ -1774,13 +1774,13 @@ static int element_set_option(pa_alsa_element *e, snd_mixer_t *m, int alsa_idx)
             r = snd_mixer_selem_set_capture_switch_all(me, alsa_idx);
 
         if (r < 0)
-            pa_log_warn("Faile to set switch of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
+            pa_log_warn("Failed to set switch of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
 
     } else {
         pa_assert(e->enumeration_use == PA_ALSA_ENUMERATION_SELECT);
 
         if ((r = snd_mixer_selem_set_enum_item(me, 0, alsa_idx)) < 0)
-            pa_log_warn("Faile to set enumeration of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
+            pa_log_warn("Failed to set enumeration of %s: %s", e->alsa_name, pa_alsa_strerror(errno));
     }
 
     return r;
index 7dea94f78740aebc20465ce2347474348726a442..7c20ce3163089773ee138afd522511499d7c4cd7 100644 (file)
@@ -236,7 +236,7 @@ int pa__init(pa_module*m) {
         goto fail;
     }
 
-    pa_log_info("Sucessfully opened database file '%s'.", fname);
+    pa_log_info("Successfully opened database file '%s'.", fname);
     pa_xfree(fname);
 
     for (card = pa_idxset_first(m->core->cards, &idx); card; card = pa_idxset_next(m->core->cards, &idx))
index daa7562f1143eeadde4c55e580b9befd82a8cbd9..eda6787e7305a87d913ff5baef203f582a392489 100644 (file)
@@ -1463,7 +1463,7 @@ int pa__init(pa_module*m) {
         goto fail;
     }
 
-    pa_log_info("Sucessfully opened database file '%s'.", fname);
+    pa_log_info("Successfully opened database file '%s'.", fname);
     pa_xfree(fname);
 
     /* Attempt to inject the devices into the list in priority order */
index da6c96661df28af606bfa93f057d8cc575ab7d58..fcd3ccf6c4dd5e18c3ac436a8efe4b589b1cf48c 100644 (file)
@@ -496,7 +496,7 @@ int pa__init(pa_module*m) {
         goto fail;
     }
 
-    pa_log_info("Sucessfully opened database file '%s'.", fname);
+    pa_log_info("Successfully opened database file '%s'.", fname);
     pa_xfree(fname);
 
     for (sink = pa_idxset_first(m->core->sinks, &idx); sink; sink = pa_idxset_next(m->core->sinks, &idx))
index d4f9d8f09a52d29272d1e81087b1d45493865a0d..1a6607df7bba3310edfd25101ef0993d83232839 100644 (file)
@@ -164,7 +164,7 @@ static void thread_func(void *userdata) {
                 if (errno == EINTR)
                     continue;
                 else if (errno != EAGAIN) {
-                    pa_log("Faile to read data from FIFO: %s", pa_cstrerror(errno));
+                    pa_log("Failed to read data from FIFO: %s", pa_cstrerror(errno));
                     goto fail;
                 }
 
index 2fcd21f063a9725e65635903e12c6d621eb7b556..8b35809a1c421f470cef2edd1e99b3ea226dc8a9 100644 (file)
@@ -108,7 +108,7 @@ static pa_hook_result_t sink_unlink_hook_callback(pa_core *c, pa_sink *sink, voi
             pa_log_info("Failed to move sink input %u \"%s\" to %s.", i->index,
                         pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
         else
-            pa_log_info("Sucessfully moved sink input %u \"%s\" to %s.", i->index,
+            pa_log_info("Successfully moved sink input %u \"%s\" to %s.", i->index,
                         pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
     }
 
@@ -134,7 +134,7 @@ static pa_hook_result_t sink_input_move_fail_hook_callback(pa_core *c, pa_sink_i
         return PA_HOOK_OK;
 
     } else {
-        pa_log_info("Sucessfully moved sink input %u \"%s\" to %s.", i->index,
+        pa_log_info("Successfully moved sink input %u \"%s\" to %s.", i->index,
                     pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
         return PA_HOOK_STOP;
     }
@@ -199,7 +199,7 @@ static pa_hook_result_t source_unlink_hook_callback(pa_core *c, pa_source *sourc
             pa_log_info("Failed to move source output %u \"%s\" to %s.", o->index,
                         pa_strnull(pa_proplist_gets(o->proplist, PA_PROP_APPLICATION_NAME)), target->name);
         else
-            pa_log_info("Sucessfully moved source output %u \"%s\" to %s.", o->index,
+            pa_log_info("Successfully moved source output %u \"%s\" to %s.", o->index,
                         pa_strnull(pa_proplist_gets(o->proplist, PA_PROP_APPLICATION_NAME)), target->name);
     }
 
@@ -225,7 +225,7 @@ static pa_hook_result_t source_output_move_fail_hook_callback(pa_core *c, pa_sou
         return PA_HOOK_OK;
 
     } else {
-        pa_log_info("Sucessfully moved source input %u \"%s\" to %s.", i->index,
+        pa_log_info("Successfully moved source input %u \"%s\" to %s.", i->index,
                     pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
         return PA_HOOK_STOP;
     }
index 37ab306f9bbf2a247e33d8d945794c7e67929656..99bc3e69c17c42b46548c86cd3335d8a63384699 100644 (file)
@@ -2055,7 +2055,7 @@ int pa__init(pa_module*m) {
         goto fail;
     }
 
-    pa_log_info("Sucessfully opened database file '%s'.", fname);
+    pa_log_info("Successfully opened database file '%s'.", fname);
     pa_xfree(fname);
 
 #ifdef HAVE_DBUS
index f15466ce0a2a69ff4866847a549dff4b217c48fc..69f5d9ef329d1445c4873d00a8472fc55008d9d6 100644 (file)
@@ -90,7 +90,7 @@ static const char *command_names[PA_COMMAND_MAX] = {
 
     [PA_COMMAND_SET_SINK_VOLUME] = "SET_SINK_VOLUME",
     [PA_COMMAND_SET_SINK_INPUT_VOLUME] = "SET_SINK_INPUT_VOLUME",
-    [PA_COMMAND_SET_SOURCE_VOLUME] = "SET_SOURCE_VOLME",
+    [PA_COMMAND_SET_SOURCE_VOLUME] = "SET_SOURCE_VOLUME",
 
     [PA_COMMAND_SET_SINK_MUTE] = "SET_SINK_MUTE",
     [PA_COMMAND_SET_SOURCE_MUTE] = "SET_SOURCE_MUTE",
index 213e798383d05cd90ea44ca604c5975afa653ed0..cb5007792a89e0fd6773df84a729c2b3659a3329 100644 (file)
@@ -218,7 +218,7 @@ int pa_pid_file_create(const char *procname) {
             if (procname)
                 if ((ours = proc_name_ours(pid, procname)) < 0) {
                     pa_log_warn("Could not check to see if pid %lu is a pulseaudio process. "
-                                "Asssuming it is and the daemon is already running.", (unsigned long) pid);
+                                "Assuming it is and the daemon is already running.", (unsigned long) pid);
                     goto fail;
                 }