mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-14 08:56:37 -05:00
doc: fix some spelling errors
This commit is contained in:
parent
82b0644e23
commit
2176874687
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
memory. If you don't set these flags you have
|
||||||
either work with the fd or mmap yourself.
|
either work with the fd or mmap yourself.
|
||||||
* `PW_STREAM_FLAG_RT_PROCESS` Run the process function in the realtime thread.
|
* `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
|
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
|
And last we pass the extra parameters for our stream. Here we only have the
|
||||||
allowed formats (`SPA_PARAM_EnumFormat`).
|
allowed formats (`SPA_PARAM_EnumFormat`).
|
||||||
|
|
|
||||||
|
|
@ -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`
|
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.
|
to pass an optional target id.
|
||||||
|
|
||||||
We're setting the `PW_STREAM_FLAG_AUTOCONNECT` flag to make an automatic
|
We're setting the `PW_STREAM_FLAG_AUTOCONNECT` flag to make an automatic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue