Fix typos

found them with codespell.

Signed-off-by: Diego Viola <diego.viola@gmail.com>
This commit is contained in:
Diego Viola 2024-05-20 10:45:04 -03:00 committed by Wim Taymans
parent 8a24ad3073
commit 7410755c03
45 changed files with 100 additions and 100 deletions

View file

@ -122,7 +122,7 @@ static inline int pw_array_ensure_size(struct pw_array *arr, size_t size)
}
/** Add \a ref size bytes to \a arr. A pointer to memory that can
* hold at least \a size bytes is returned or NULL when an error occured
* hold at least \a size bytes is returned or NULL when an error occurred
* and errno will be set.*/
static inline void *pw_array_add(struct pw_array *arr, size_t size)
{

View file

@ -1245,7 +1245,7 @@ int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_propert
* {
* matches = [
* # any of the items in matches needs to match, if one does,
* # actions are emited.
* # actions are emitted.
* {
* # all keys must match the value. ! negates. ~ starts regex.
* <key> = <value>

View file

@ -1412,7 +1412,7 @@ static uint32_t find_best_rate(const uint32_t *rates, uint32_t n_rates, uint32_t
/* first find higher nearest GCD. This tries to find next bigest rate that
* requires the least amount of resample filter banks. Usually these are
* rates that are multiples of eachother or multiples of a common rate.
* rates that are multiples of each other or multiples of a common rate.
*
* 44100 and [ 32000 56000 88200 96000 ] -> 88200
* 48000 and [ 32000 56000 88200 96000 ] -> 96000

View file

@ -578,7 +578,7 @@ void pw_properties_free(struct pw_properties *properties)
* \param value a value or NULL to remove the key
* \return 1 if the properties were changed. 0 if nothing was changed because
* the property already existed with the same value or because the key to remove
* did not exist. < 0 if an error occured and nothing was changed.
* did not exist. < 0 if an error occurred and nothing was changed.
*
* Set the property in \a properties with \a key to \a value. Any previous value
* of \a key will be overwritten. When \a value is NULL, the key will be

View file

@ -190,7 +190,7 @@ pw_work_queue_add(struct pw_work_queue *queue, void *obj, int res, pw_work_func_
/** Cancel a work item
* \param queue the work queue
* \param obj the owner object
* \param id the wotk id to cancel
* \param id the work id to cancel
*
*/
SPA_EXPORT