mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
README: fix some errors
This commit is contained in:
parent
7a50026a2c
commit
99b3f4a67f
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -42,10 +42,10 @@ applications:
|
||||||
* `PIPEWIRE_LOG=<filename>` to redirect log to filename
|
* `PIPEWIRE_LOG=<filename>` to redirect log to filename
|
||||||
* `PIPEWIRE_LATENCY=<num/denom>` to configure latency as a fraction. 10/1000
|
* `PIPEWIRE_LATENCY=<num/denom>` to configure latency as a fraction. 10/1000
|
||||||
configures a 10ms latency. Usually this is
|
configures a 10ms latency. Usually this is
|
||||||
expressed with a denom of the samplerate,
|
expressed as a fraction of the samplerate,
|
||||||
like 256/48000, which uses 256 samples at a
|
like 256/48000, which uses 256 samples at a
|
||||||
samplerate of 48KHz for a latency of 5.33ms.
|
samplerate of 48KHz for a latency of 5.33ms.
|
||||||
* `PIPEWIRE_NODE=<id>` to request link to specified node
|
* `PIPEWIRE_NODE=<id>` to request a link to the specified node
|
||||||
|
|
||||||
### Using tools
|
### Using tools
|
||||||
|
|
||||||
|
|
@ -94,13 +94,13 @@ If the PipeWire alsa module is installed, it can be seen with
|
||||||
$ aplay -L
|
$ aplay -L
|
||||||
```
|
```
|
||||||
|
|
||||||
Alsa application can then use the `pipewire:` device to use PipeWire
|
ALSA application can then use the `pipewire:` device to use PipeWire
|
||||||
as the audio system.
|
as the audio system.
|
||||||
|
|
||||||
### Running GStreamer applications
|
### Running GStreamer applications
|
||||||
|
|
||||||
PipeWire includes 2 GStreamer elements called `pipewiresrc` and
|
PipeWire includes 2 GStreamer elements called `pipewiresrc` and
|
||||||
`pipewiresink`. They can be used in pipelines like this:
|
`pipewiresink`. They can be used in pipelines such as this:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ gst-launch-1.0 pipewiresrc ! videoconvert ! autovideosink
|
$ gst-launch-1.0 pipewiresrc ! videoconvert ! autovideosink
|
||||||
|
|
@ -130,10 +130,10 @@ ports but it is a good start.
|
||||||
|
|
||||||
`pw-mon` dumps and monitors the state of the PipeWire daemon.
|
`pw-mon` dumps and monitors the state of the PipeWire daemon.
|
||||||
|
|
||||||
`pw-dot` can dump a graph of the pipeline, checkout out the help for
|
`pw-dot` can dump a graph of the pipeline, check out the help for
|
||||||
how to do this.
|
how to do this.
|
||||||
|
|
||||||
There is a more complicated tools to inspect the state of the server
|
There is a more complicated tool to inspect the state of the server
|
||||||
with `pw-cli`. This tools can be used interactively or it can execute
|
with `pw-cli`. This tools can be used interactively or it can execute
|
||||||
single commands like this to get the server information:
|
single commands like this to get the server information:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue