diff options
author | wm4 <wm4@nowhere> | 2015-06-25 19:10:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-25 19:10:24 +0200 |
commit | 5a3cdb8f1e8b14daf11d44ef729a2484982b7305 (patch) | |
tree | 57369f90adb2e163dffc86b2649e7ba1d0f08077 /DOCS | |
parent | fd1194de3c4b14126269f2db918c0f8bcf2bf34a (diff) |
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')
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/input.rst | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index d0b4dfc72d..bf8fd991c6 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -20,6 +20,7 @@ Interface changes :: --- mpv 0.10.0 will be released --- + - add audio-params/channel-count and ``audio-params-out/channel-count props. - add af volume replaygain-fallback suboption - add video-params/stereo-in property - add "keypress", "keydown", and "keyup" commands 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 |