From 36a4923f9bd05d4c5e2e8b1765f18edf452b9251 Mon Sep 17 00:00:00 2001
From: Tanu Kaskinen
Date: Thu, 16 Apr 2020 18:27:48 +0300
Subject: [PATCH] Point to SupportedAudioFormats wiki page where appropriate
I documented the supported PCM sample formats and compressed audio
encodings in the wiki, let's add some pointers to the new documentation.
---
man/pacat.1.xml.in | 15 +++------------
man/pactl.1.xml.in | 14 +++++++++-----
man/pulse-daemon.conf.5.xml.in | 13 +++----------
src/pulse/format.h | 4 ++++
src/pulse/sample.h | 4 ++++
src/utils/pacat.c | 6 +++---
6 files changed, 26 insertions(+), 30 deletions(-)
diff --git a/man/pacat.1.xml.in b/man/pacat.1.xml.in
index bfef710d1..8fcb51d92 100644
--- a/man/pacat.1.xml.in
+++ b/man/pacat.1.xml.in
@@ -116,18 +116,9 @@ License along with PulseAudio; if not, see .
--format=FORMAT
Capture or play back audio with the specified sample
- format. Specify one of u8, s16le,
- s16be, s32le, s32be,
- float32le, float32be, ulaw,
- alaw, s32le, s32be,
- s24le, s24be, s24-32le,
- s24-32be. Depending on the endianness of the CPU the
- formats s16ne, s16re, s32ne,
- s32re, float32ne, float32re,
- s32ne, s32re, s24ne,
- s24re, s24-32ne, s24-32re (for
- native, resp. reverse endian) are available as aliases. Defaults
- to s16ne.
+ format. See
+ https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SupportedAudioFormats/
+ for supported values. Defaults to s16ne.
+
Set the supported formats of the specified sink (identified
+ by its numerical index) if supported by the sink. FORMATS is
+ specified as a semi-colon (;) separated list of formats in the form
+ 'encoding[, key1=value1, key2=value2, ...]' (for example, AC3 at 32000,
+ 44100 and 48000 Hz would be specified as
+ 'ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"'). See
+ https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SupportedAudioFormats/
+ for possible encodings.