mpv/audio
wm4 b0ed93d87d audio: allow more than 20 channel map entries
This could trigger an assertion when using ao_alsa or ao_coreaudio. The
code was simply assuming the number of channel maps was bounded
statically (which was true at first in both AOs).

Fix by using dynamic memory allocation. It needs to be explicitly
enabled by the AOs by setting a temp context, because otherwise the
memory couldn't be freed. (Or at least this seems to be the most elegant
solution.)

Fixes #1306.
2014-12-01 15:28:06 +01:00
..
decode audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
filter audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
out audio: allow more than 20 channel map entries 2014-12-01 15:28:06 +01:00
audio.c audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
audio.h audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
chmap.c audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
chmap.h audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
chmap_sel.c audio: allow more than 20 channel map entries 2014-12-01 15:28:06 +01:00
chmap_sel.h audio: allow more than 20 channel map entries 2014-12-01 15:28:06 +01:00
fmt-conversion.c audio: fix format ID conversion 2013-12-23 21:24:41 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
format.h ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
mixer.c mixer: don't show softvol neutral marker on OSD if not using softvol 2014-11-27 10:11:55 +01:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00