summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-06 21:48:17 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:55:34 +0900
commiteccea213614daa0739d45a5b02c85f9f64f874e9 (patch)
treeec286bf75b4941c9530266baa4dacfddfcadee1e
parent52ed30e9b80bc621bab06f0f930d4398fee1b55f (diff)
downloadmpv-eccea213614daa0739d45a5b02c85f9f64f874e9.tar.bz2
mpv-eccea213614daa0739d45a5b02c85f9f64f874e9.tar.xz
ao_sndio: add notice about padding channels
(I won't do this, but someone else seeing this might.) (cherry picked from commit cd5ab98ff992217abfd0234601c21eb0fe0dbc19)
-rw-r--r--audio/out/ao_sndio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c
index 80add47a64..bbe616aebf 100644
--- a/audio/out/ao_sndio.c
+++ b/audio/out/ao_sndio.c
@@ -98,7 +98,9 @@ static const struct mp_chmap sndio_layouts[MP_NUM_CHANNELS + 1] = {
{0}, // 6.1
MP_CHMAP8(FL, FR, BL, BR, FC, LFE, SL, SR), // 7.1
/* above is the fixed channel assignment for sndio, since we need to fill
- all channels and cannot insert silence, not all layouts are supported. */
+ all channels and cannot insert silence, not all layouts are supported.
+ NOTE: MP_SPEAKER_ID_NA0-7 could be used to add padding channels. Keep
+ in mind that they don't actually contain silence. */
};
/*