mpv/audio
wm4 ab8f28a672 audio: add channel map selection function
The point is selecting a minimal fallback. The AOs will call this
through the AO API, so it will be possible to add options affecting
the general channel layout selection.

It provides the following mechanism to AOs:
- forcing the correct channel order
- downmixing to stereo if no layout is available
- allow 5.1 <-> 5.1(side) fallback
- handling "unknown" channel layouts

This is quite weak and lots of code/complexity for little gain. All AOs
already made sure the channel order was correct, and the fallback is of
little value, and could perhaps be done in the frontend instead, like
stereo downmixing with --channels=2 is handled. But I'm not really sure
how this stuff should _really_ work, and the new code will hopefully
provides enough flexibility to make radical changes to channel layout
negotiation easier.
2013-05-12 21:24:57 +02:00
..
decode audio: print channel map additionally to channel count on terminal 2013-05-12 21:24:56 +02:00
filter af_lavrresample: avoid channel reordering with unknown layouts 2013-05-12 21:24:56 +02:00
out audio: add channel map selection function 2013-05-12 21:24:57 +02:00
audio.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02:00
chmap.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap_sel.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
fmt-conversion.c ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
format.h audio: remove support for native alaw/mulaw/adpcm output 2012-12-11 00:37:54 +01:00
mixer.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
mixer.h mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
reorder_ch.c reorder_ch: remove old channel reorder functions 2013-05-12 21:24:55 +02:00
reorder_ch.h reorder_ch: remove old channel reorder functions 2013-05-12 21:24:55 +02:00