man: update pw-cat man page

This commit is contained in:
Wim Taymans 2022-05-20 08:23:43 +02:00
parent 81eee88dd8
commit 700b1e7ff8

View file

@ -11,11 +11,12 @@ Play and record media with PipeWire
SYNOPSIS SYNOPSIS
======== ========
| **pw-cat** [*options*] [*FILE*] | **pw-cat** [*options*] [*FILE*|-]
| **pw-play** [*options*] [*FILE*] | **pw-play** [*options*] [*FILE*|-]
| **pw-record** [*options*] [*FILE*] | **pw-record** [*options*] [*FILE*|-]
| **pw-midiplay** [*options*] [*FILE*] | **pw-midiplay** [*options*] [*FILE*|-]
| **pw-midirecord** [*options*] [*FILE*] | **pw-midirecord** [*options*] [*FILE*|-]
| **pw-dsdplay** [*options*] [*FILE*|-]
DESCRIPTION DESCRIPTION
=========== ===========
@ -23,7 +24,14 @@ DESCRIPTION
**pw-cat** is a simple tool for playing back or **pw-cat** is a simple tool for playing back or
capturing raw or encoded media files on a PipeWire capturing raw or encoded media files on a PipeWire
server. It understands all audio file formats supported by server. It understands all audio file formats supported by
``libsndfile``. ``libsndfile`` for PCM capture and playback.
It understands standard MIDI files for playback and recording,
DSD playback is supported with the DSF file format.
When the *FILE* is - input and output will be from STDIN and
STDOUT respectively.
OPTIONS OPTIONS
======= =======
@ -53,6 +61,10 @@ OPTIONS
MIDI mode. *FILE* is a MIDI file. If the tool is called under the name MIDI mode. *FILE* is a MIDI file. If the tool is called under the name
**pw-midiplay** or **pw-midirecord** this is the default. **pw-midiplay** or **pw-midirecord** this is the default.
-d | --dsd
DSD mode. *FILE* is a DSF file. If the tool is called under the name
**pw-dsdplay** this is the default.
--media-type=VALUE --media-type=VALUE
Set the media type property (default Audio/Midi depending on mode). Set the media type property (default Audio/Midi depending on mode).
The media type is used by the session manager to select a suitable target The media type is used by the session manager to select a suitable target
@ -97,6 +109,9 @@ OPTIONS
If no units are given, the latency value is samples with the samplerate If no units are given, the latency value is samples with the samplerate
of the file. of the file.
-P | --properties=VALUE
Set extra stream properties as a JSON object.
-q | --quality=VALUE -q | --quality=VALUE
Resampler quality. When the samplerate of the source or Resampler quality. When the samplerate of the source or
destination file does not match the samplerate of the server, the destination file does not match the samplerate of the server, the
@ -129,7 +144,7 @@ OPTIONS
--format=VALUE --format=VALUE
The sample format to use. One of: The sample format to use. One of:
**s8**, **s16** (default), **s24**, **s32**, **u8**, **s8**, **s16** (default), **s24**, **s32**,
**f32**, **f64**. **f32**, **f64**.
--volume=VALUE --volume=VALUE