Fix typos

This commit is contained in:
Andrea Gelmini 2021-04-28 20:29:44 +02:00 committed by Wim Taymans
parent 379068c31d
commit 47ef2b6b09
35 changed files with 53 additions and 53 deletions

View file

@ -549,7 +549,7 @@ static pa_available_t calc_port_state(pa_device_port *p, pa_card *impl)
break;
}
/* If the current availablility is unknown go the more precise no,
/* If the current availability is unknown go the more precise no,
* but otherwise don't change state */
if (pa == PA_AVAILABLE_UNKNOWN)
pa = cpa;

View file

@ -72,7 +72,7 @@ struct pa_device_port {
unsigned priority;
pa_available_t available; /* PA_AVAILABLE_UNKNOWN, PA_AVAILABLE_NO or PA_AVAILABLE_YES */
char *availability_group; /* a string identifier which determine the group of devices handling the available state simulteneously */
char *availability_group; /* a string identifier which determine the group of devices handling the available state simultaneously */
pa_direction_t direction;
int64_t latency_offset;

View file

@ -206,7 +206,7 @@ static inline void pa_hashmap_sort(pa_hashmap *h,
for ((state) = NULL, (e) = pa_hashmap_iterate((h), &(state), NULL); \
(e); (e) = pa_hashmap_iterate((h), &(state), NULL))
/* A macro to ease itration through all key, value pairs */
/* A macro to ease iteration through all key, value pairs */
#define PA_HASHMAP_FOREACH_KV(k, e, h, state) \
for ((state) = NULL, (e) = pa_hashmap_iterate((h), &(state), (const void **) &(k)); \
(e); (e) = pa_hashmap_iterate((h), &(state), (const void **) &(k)))