treewide: fix a bunch of typos
authorFelipe Sateler <fsateler@debian.org>
Fri, 26 Feb 2021 22:58:41 +0000 (19:58 -0300)
committerFelipe Sateler <fsateler@debian.org>
Fri, 26 Feb 2021 22:58:41 +0000 (19:58 -0300)
Detected by lintian, the debian package linter

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/512>

man/pacat.1.xml.in
src/modules/alsa/alsa-ucm.c
src/modules/bluetooth/backend-native.c
src/modules/bluetooth/backend-ofono.c
src/pulse/json.c

index 8fcb51d..72fc0ad 100644 (file)
@@ -202,7 +202,7 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
     <option>
       <p><opt>--process-time-msec</opt><arg>=MSEC</arg></p>
       <optdesc><p>Explicitly configure the process time, with a time
-      specified in miliseconds. If left out the server will pick the
+      specified in milliseconds. If left out the server will pick the
       process time. Use either this option or <opt>--process-time</opt>,
       but not both.</p></optdesc>
     </option>
index d9cea61..dc2f062 100644 (file)
@@ -691,7 +691,7 @@ static char *modifier_name_to_role(const char *mod_name, bool *is_sink) {
 
     if (!sub || !*sub) {
         pa_xfree(sub);
-        pa_log_warn("Can't match media roles for modifer %s", mod_name);
+        pa_log_warn("Can't match media roles for modifier %s", mod_name);
         return NULL;
     }
 
index 4fb1bea..3ad67b6 100644 (file)
@@ -612,7 +612,7 @@ static DBusMessage *profile_new_connection(DBusConnection *conn, DBusMessage *m,
 
     d = pa_bluetooth_discovery_get_device_by_path(b->discovery, path);
     if (d == NULL) {
-        pa_log_error("Device doesnt exist for %s", path);
+        pa_log_error("Device doesn't exist for %s", path);
         goto fail;
     }
 
index 4d33935..368efc1 100644 (file)
@@ -347,7 +347,7 @@ static void hf_audio_agent_card_found(pa_bluetooth_backend *backend, const char
 
     d = pa_bluetooth_discovery_get_device_by_address(backend->discovery, card->remote_address, card->local_address);
     if (!d) {
-        pa_log_error("Device doesnt exist for %s", path);
+        pa_log_error("Device doesn't exist for %s", path);
         goto fail;
     }
 
index d126712..00e3a90 100644 (file)
@@ -168,7 +168,7 @@ static const char* parse_string(const char *str, pa_json_object *obj) {
                     goto error;
 
                 default:
-                    pa_log("Unexepcted escape value: %c", *str);
+                    pa_log("Unexpected escape value: %c", *str);
                     goto error;
             }
         }