mpv/audio
wm4 d115fb3b0e af: don't require filters to allocate af_instance->data, redo buffers
Allocate af_instance->data in generic code before filter initialization.
Every filter needs af->data (since it contains the output
configuration), so there's no reason why every filter should allocate
and free it.

Remove RESIZE_LOCAL_BUFFER(), and replace it with mp_audio_realloc_min().
Interestingly, most code becomes simpler, because the new function takes
the size in samples, and not in bytes. There are larger change in
af_scaletempo.c and af_lavcac3enc.c, because these had copied and
modified versions of the RESIZE_LOCAL_BUFFER macro/function.
2013-11-12 23:27:03 +01:00
..
decode audio/filter: prepare filter chain for non-interleaved audio 2013-11-12 23:16:31 +01:00
filter af: don't require filters to allocate af_instance->data, redo buffers 2013-11-12 23:27:03 +01:00
out audio/out: reject non-interleaved formats 2013-11-12 23:16:31 +01:00
audio.c audio/filter: prepare filter chain for non-interleaved audio 2013-11-12 23:16:31 +01:00
audio.h audio/filter: prepare filter chain for non-interleaved audio 2013-11-12 23:16:31 +01:00
chmap.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap_sel.c ao_jack: allow more control about channel layouts 2013-07-07 18:37:55 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
fmt-conversion.c audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
format.h audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
mixer.c af_volume: use only one volume setting for all channels 2013-11-09 23:32:58 +01:00
mixer.h command: don't allow changing volume if no audio initialized 2013-10-12 18:57:02 +02:00
reorder_ch.c audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00
reorder_ch.h audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00