pw-cat, pw-play, pw-record: add page (#6602)

This commit is contained in:
Managor
2021-09-28 14:53:19 +03:00
committed by GitHub
parent ac20da70b3
commit 682544fc1a
3 changed files with 60 additions and 0 deletions

24
pages/linux/pw-cat.md Normal file
View File

@@ -0,0 +1,24 @@
# pw-cat
> Pipewire tool for playing and recording audio files.
> More information: <https://fedoraproject.org/wiki/QA:Testcase_PipeWire_PipeWire_CLI>.
- List all available playback targets:
`pw-cat --playback --list-targets`
- Play a WAV file over the default target:
`pw-cat --playback {{path/to/file.wav}}`
- List all available record targets:
`pw-cat --record --list-targets`
- Record a sample recording at a different volume level:
`pw-cat --record --volume={{0.1}} {{path/to/file.wav}}`
- Record a sample recording using a different sample rate:
`pw-cat --record --rate={{6000}} {{path/to/file.wav}}`