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:
Emmanuel Gil Peyrot 2020-07-22 20:54:06 +02:00 committed by Wim Taymans
parent 688a1ab082
commit 14fdf07e8f
56 changed files with 152 additions and 141 deletions

View file

@ -74,7 +74,7 @@ enum spa_io_type {
* the buffer in buffer_id and set the state to
* SPA_STATUS_NEED_DATA when new data is requested.
*
* If status is SPA_STATUS_STOPPED, some error occured on the
* If status is SPA_STATUS_STOPPED, some error occurred on the
* port.
*
* If status is SPA_STATUS_DRAINED, data from the io area was
@ -137,7 +137,7 @@ struct spa_io_clock {
int64_t delay; /**< delay between position and hardware,
* positive for capture, negative for playback */
double rate_diff; /**< rate difference between clock and monotonic time */
uint64_t next_nsec; /**< extimated next wakup time in nanoseconds */
uint64_t next_nsec; /**< extimated next wakeup time in nanoseconds */
uint32_t padding[8];
};
@ -235,7 +235,7 @@ struct spa_io_segment {
* backwards time reporting. */
uint64_t position; /**< The position when the running time == start.
* can be invalid when the owner of the extra segment
* infomation has not yet made the mapping. */
* information has not yet made the mapping. */
struct spa_io_segment_bar bar;
struct spa_io_segment_video video;