doc: fix some spelling errors

This commit is contained in:
Wim Taymans 2020-08-11 21:23:00 +02:00
parent 82b0644e23
commit 2176874687
2 changed files with 3 additions and 3 deletions

View file

@ -234,9 +234,9 @@ means that we are ok with conneting to any consumer. Next we set some flags:
memory. If you don't set these flags you have
either work with the fd or mmap yourself.
* `PW_STREAM_FLAG_RT_PROCESS` Run the process function in the realtime thread.
Only use this is the process function only
Only use this if the process function only
uses functions that are realtime safe, this means
no allocation or file access or locking.
no allocation or file access or any locking.
And last we pass the extra parameters for our stream. Here we only have the
allowed formats (`SPA_PARAM_EnumFormat`).

View file

@ -263,7 +263,7 @@ Now we're ready to connect the stream and run the main loop:
```
To connect we specify that we have an `PW_DIRECTION_INPUT` stream. `PW_ID_ANY`
means that we are ok with conneting to any producer. We also allow the user
means that we are ok with connecting to any producer. We also allow the user
to pass an optional target id.
We're setting the `PW_STREAM_FLAG_AUTOCONNECT` flag to make an automatic