mpv/audio
wm4 fd1194de3c audio: fix channel map fallback selection (again)
The speaker replacement nonsense sometimes made blatantly incorrect
decisions. In this case, it prefered a 7.1(rear) upmix over outputting
5.1(side) as 5.1, which makes no sense at all. This happened because 5.1
and 7.1(rear) appeared equivalent to the final selection, as both of
them lose the sl-sr channels. The old code was too stupid to select the
one with the lower number of channels as well.

Redo this. There's really no reason why there should be a separate final
decision, so move the speaker replacement logic into the
mp_chmap_is_better() function.

Improve some other details. For example, we never should compare the
plain number of channels for deciding upmix/downmix, because due to NA
channels this is essentially meaningless. Remove the NA channels when
doing this comparison. Also, explicitly handle exact matches.
Conceptually this is not necessary, but it avoids that we have to
needlessly shuffle audio data around.
2015-06-25 17:32:00 +02:00
..
decode demux: merge extradata fields 2015-06-21 18:06:14 +02:00
filter af: move af_from_dB() function to af_volume.c 2015-06-23 15:11:23 +02:00
out ao: standardize channel layout name in debug output further 2015-06-25 13:15:32 +02:00
audio.c audio: remove unused readonly field 2015-06-15 14:32:14 +02:00
audio.h audio: remove unused readonly field 2015-06-15 14:32:14 +02:00
audio_buffer.c
audio_buffer.h
chmap.c chmap: make up some channel layout names 2015-06-12 23:57:32 +02:00
chmap.h Various spelling fixes 2015-06-18 19:36:58 +02:00
chmap_sel.c audio: fix channel map fallback selection (again) 2015-06-25 17:32:00 +02:00
chmap_sel.h chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
format.c audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
format.h audio: remove S8, U16, U24, U32 formats 2015-06-16 21:11:59 +02:00
mixer.c Various spelling fixes 2015-06-18 19:36:58 +02:00
mixer.h audio: change range of volume option/property 2015-05-22 18:35:03 +02:00