mpv/audio/out
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
..
ao.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
ao.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
ao_alsa.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_coreaudio.c ao_coreaudio: switch to WAVEEXT channel order 2013-05-12 21:24:55 +02:00
ao_dsound.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_jack.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_lavc.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_null.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_openal.c ao_openal: use channel map instead of ALSA fixed layout 2013-05-12 21:24:56 +02:00
ao_oss.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_pcm.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_portaudio.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_pulse.c ao_pulse: move format setup code 2013-05-12 21:24:57 +02:00
ao_rsound.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
ao_sdl.c ao: remove ao_driver.is_new field 2013-05-12 21:24:56 +02:00
audio_out_internal.h audio/out: switch to channel map 2013-05-12 21:24:54 +02:00