1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-08 16:07:16 +00:00
mpv/audio
wm4 2228d47373 ao_alsa: try to use the channel map reported by ALSA
If ALSA reports a channel map, and it looks like it makes sense (i.e.
could be converted to mpv channel map, and the channel count matches),
then use that instead of the channel map we are assuming.

This is based on code written by lachs0r (alsa_ng branch).
2014-11-24 19:44:26 +01:00
..
decode audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
filter af_scaletempo: use float division for rate 2014-11-21 10:09:15 +01:00
out ao_alsa: try to use the channel map reported by ALSA 2014-11-24 19:44:26 +01:00
audio_buffer.c
audio_buffer.h
audio.c audio: make sure AVFrame is actually refcounted 2014-11-11 21:20:21 +01:00
audio.h audio: add mp_audio_make_writeable() 2014-11-10 22:02:05 +01:00
chmap_sel.c Add more const 2014-06-11 00:39:14 +02:00
chmap_sel.h
chmap.c options: accept --audio-channels=auto 2014-10-30 22:58:17 +01:00
chmap.h ao_alsa: try to use the channel map reported by ALSA 2014-11-24 19:44:26 +01:00
fmt-conversion.c
fmt-conversion.h
format.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
format.h audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
mixer.c mixer: always restore volume (even with pulse), don't unmute 2014-09-20 02:02:29 +02:00
mixer.h