mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-14 04:28:13 -05: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
|
|
@ -146,10 +146,10 @@ struct spa_node_events {
|
|||
#define SPA_VERSION_NODE_EVENTS 0
|
||||
uint32_t version; /**< version of this structure */
|
||||
|
||||
/** Emited when info changes */
|
||||
/** Emitted when info changes */
|
||||
void (*info) (void *data, const struct spa_node_info *info);
|
||||
|
||||
/** Emited when port info changes, NULL when port is removed */
|
||||
/** Emitted when port info changes, NULL when port is removed */
|
||||
void (*port_info) (void *data,
|
||||
enum spa_direction direction, uint32_t port,
|
||||
const struct spa_port_info *info);
|
||||
|
|
@ -175,7 +175,7 @@ struct spa_node_events {
|
|||
|
||||
/**
|
||||
* \param node a spa_node
|
||||
* \param event the event that was emited
|
||||
* \param event the event that was emitted
|
||||
*
|
||||
* This will be called when an out-of-bound event is notified
|
||||
* on \a node.
|
||||
|
|
@ -335,7 +335,7 @@ struct spa_node_methods {
|
|||
* The function will emit the result event up to \a max times with
|
||||
* the result value. The seq in the result will either be the \a seq
|
||||
* number when executed synchronously or the async return value of
|
||||
* this function when executed asynchrnously.
|
||||
* this function when executed asynchronously.
|
||||
*
|
||||
* This function must be called from the main thread.
|
||||
*
|
||||
|
|
@ -353,7 +353,7 @@ struct spa_node_methods {
|
|||
* -ENOTSUP when there are no parameters
|
||||
* implemented on \a node
|
||||
* an async return value when the result event will be
|
||||
* emited later.
|
||||
* emitted later.
|
||||
*/
|
||||
int (*enum_params) (void *object, int seq,
|
||||
uint32_t id, uint32_t start, uint32_t max,
|
||||
|
|
@ -482,7 +482,7 @@ struct spa_node_methods {
|
|||
* -EINVAL when invalid parameters are given
|
||||
* -ENOENT when \a id is unknown
|
||||
* an async return value when the result event will be
|
||||
* emited later.
|
||||
* emitted later.
|
||||
*/
|
||||
int (*port_enum_params) (void *object, int seq,
|
||||
enum spa_direction direction, uint32_t port_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue