diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2020-07-22 20:54:06 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2020-08-17 17:16:31 +0000 |
commit | 14fdf07e8f0527d7558fb0ca75e4ce507eb80e0c (patch) | |
tree | dd19aecac0d5870b21d5cd064e494ad6994d3cb1 /pipewire-pulseaudio | |
parent | 688a1ab08252ff3e959b0599839a3163b077cb19 (diff) |
Run codespell on the entire codebase
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.
Diffstat (limited to 'pipewire-pulseaudio')
-rw-r--r-- | pipewire-pulseaudio/src/introspect.c | 12 | ||||
-rw-r--r-- | pipewire-pulseaudio/src/json.c | 2 |
2 files changed, 7 insertions, 7 deletions
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; } } |