summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-25 19:10:24 +0200
committerwm4 <wm4@nowhere>2015-06-25 19:10:24 +0200
commit5a3cdb8f1e8b14daf11d44ef729a2484982b7305 (patch)
tree57369f90adb2e163dffc86b2649e7ba1d0f08077 /DOCS/man/input.rst
parentfd1194de3c4b14126269f2db918c0f8bcf2bf34a (diff)
downloadmpv-5a3cdb8f1e8b14daf11d44ef729a2484982b7305.tar.bz2
mpv-5a3cdb8f1e8b14daf11d44ef729a2484982b7305.tar.xz
audio: output human-readable channel layouts too
This gets you the "logical" channel layout, instead of the exact thing we're sending to the AO. (Tired of the cryptic shit ALSA gives me.)
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 739268cb16..0ed259f59b 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1181,6 +1181,11 @@ Property list
The channel layout as a string. This is similar to what the
``--audio-channels`` accepts.
+ ``audio-params/hr-channels``
+ As ``channels``, but instead of the possibly cryptic actual layout
+ sent to the audio device, return a hopefully more human readable form.
+ (Usually only ``audio-out-params/hr-channels`` makes sense.)
+
``audio-params/channel-count``
Number of audio channels. This is redundant to the ``channels`` field
described above.
@@ -1197,6 +1202,7 @@ Property list
"samplerate" MPV_FORMAT_INT64
"channels" MPV_FORMAT_STRING
"channel-count" MPV_FORMAT_INT64
+ "hr-channels" MPV_FORMAT_STRING
``audio-out-params``
Same as ``audio-params``, but the format of the data written to the audio