From 14fdf07e8f0527d7558fb0ca75e4ce507eb80e0c Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 22 Jul 2020 20:54:06 +0200 Subject: Run codespell on the entire codebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This tool detects and fixes common English spelling mistakes, with generally very few mistakes. Here is the command I used to generate this commit. There were a few changes that had to be done manually, and of course adding the ignore file: ```shell codespell -I .codespell-ignore -x .codespell-ignore -w ``` I didn’t add it to the CI, but this would be a good place for it. --- pipewire-pulseaudio/src/introspect.c | 12 ++++++------ pipewire-pulseaudio/src/json.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'pipewire-pulseaudio') diff --git a/pipewire-pulseaudio/src/introspect.c b/pipewire-pulseaudio/src/introspect.c index 6e2469aa..4c6d5850 100644 --- a/pipewire-pulseaudio/src/introspect.c +++ b/pipewire-pulseaudio/src/introspect.c @@ -2159,7 +2159,7 @@ pa_operation* pa_context_set_sink_input_volume(pa_context *c, uint32_t idx, cons pa_operation *o; struct stream_volume *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_stream_volume_mute, sizeof(struct stream_volume)); d = o->userdata; d->idx = idx; @@ -2179,7 +2179,7 @@ pa_operation* pa_context_set_sink_input_mute(pa_context *c, uint32_t idx, int mu pa_operation *o; struct stream_volume *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_stream_volume_mute, sizeof(struct stream_volume)); d = o->userdata; d->idx = idx; @@ -2232,7 +2232,7 @@ pa_operation* pa_context_kill_sink_input(pa_context *c, uint32_t idx, pa_context pa_operation *o; struct kill_stream *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_kill_stream, sizeof(struct kill_stream)); d = o->userdata; d->idx = idx; @@ -2461,7 +2461,7 @@ pa_operation* pa_context_set_source_output_volume(pa_context *c, uint32_t idx, c pa_operation *o; struct stream_volume *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_stream_volume_mute, sizeof(struct stream_volume)); d = o->userdata; d->idx = idx; @@ -2481,7 +2481,7 @@ pa_operation* pa_context_set_source_output_mute(pa_context *c, uint32_t idx, int pa_operation *o; struct stream_volume *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_stream_volume_mute, sizeof(struct stream_volume)); d = o->userdata; d->idx = idx; @@ -2500,7 +2500,7 @@ pa_operation* pa_context_kill_source_output(pa_context *c, uint32_t idx, pa_cont pa_operation *o; struct kill_stream *d; - pw_log_debug("contex %p: index %d", c, idx); + pw_log_debug("context %p: index %d", c, idx); o = pa_operation_new(c, NULL, do_kill_stream, sizeof(struct kill_stream)); d = o->userdata; d->idx = idx; diff --git a/pipewire-pulseaudio/src/json.c b/pipewire-pulseaudio/src/json.c index 9ca498be..8704264b 100644 --- a/pipewire-pulseaudio/src/json.c +++ b/pipewire-pulseaudio/src/json.c @@ -197,7 +197,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; } } -- cgit v1.2.3