mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
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.
This commit is contained in:
parent
688a1ab082
commit
14fdf07e8f
56 changed files with 152 additions and 141 deletions
|
|
@ -145,7 +145,7 @@ struct acp_port {
|
|||
uint32_t priority;
|
||||
enum acp_direction direction;
|
||||
enum acp_available available;
|
||||
char *available_group; /* a string indentifier which determine the group of devices
|
||||
char *available_group; /* a string identifier which determine the group of devices
|
||||
* handling the available state simultaneously */
|
||||
enum acp_port_type type;
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ static struct ucm_items item[] = {
|
|||
{NULL, NULL},
|
||||
};
|
||||
|
||||
/* UCM verb info - this should eventually be part of policy manangement */
|
||||
/* UCM verb info - this should eventually be part of policy management */
|
||||
static struct ucm_info verb_info[] = {
|
||||
{SND_USE_CASE_VERB_INACTIVE, 0},
|
||||
{SND_USE_CASE_VERB_HIFI, 8000},
|
||||
|
|
@ -676,7 +676,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ int pa_alsa_set_hw_params(
|
|||
(id = snd_pcm_info_get_id(pcm_info))) {
|
||||
/* This horrible hack makes sure we don't disable tsched on USB
|
||||
* devices, which have a low enough transfer size for timer-based
|
||||
* scheduling to work. This can go away when the ALSA API supprots
|
||||
* scheduling to work. This can go away when the ALSA API supports
|
||||
* querying the block transfer size. */
|
||||
if (pa_streq(id, "USB Audio"))
|
||||
is_usb = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue