1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/audio/out
wm4 bf014677ce ao_pulse: try to set correct channel layout
Like most other AOs, ao_pulse set the channel count only, always using a
default layout. Try to set the exact layout.

For this, we need a big lookup table to map waveex/lavc/mpv speaker
position to PulseAudio's, since PA_CHANNEL_POSITION_ is apparently not
compatible to waveext, and I haven't seen any API functions that would
help mapping them.

Completely untested. (Let's leave that to someone else...)
2013-05-12 21:24:55 +02:00
..
ao_alsa.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_coreaudio.c audio/out: switch to channel map 2013-05-12 21:24:54 +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 audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_null.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_openal.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_oss.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_pcm.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_portaudio.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_pulse.c ao_pulse: try to set correct channel layout 2013-05-12 21:24:55 +02:00
ao_rsound.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao_sdl.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
ao.h audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
audio_out_internal.h audio/out: switch to channel map 2013-05-12 21:24:54 +02:00