mpv/audio
wm4 542086dd45 af: merge af_reinit() and fix_output_format()
Calling them separately doesn't really make sense, and all existing
calls to them usually combined them. One subtitle difference was that
af_init() didn't wipe the filter chain if initialization of the chain
itself failed, but that didn't really make sense anyway.

Also remove af_init() from the code for setting balance in mixer.c. The
mixer should be in the initialized state only if audio is fully
initialized, so the af_init() call made no sense.

Note that the filter "editing" code in command.c doesn't really do a
nice job of handling errors in case recreating an _old_ (known to work)
filter chain unexpectedly fails, and this obscure/rare case might be
differently handled after this change.
2013-09-20 13:43:00 +02:00
..
decode audio: fix playback of Musepack SV8 files 2013-09-01 20:17:50 +02:00
filter af: merge af_reinit() and fix_output_format() 2013-09-20 13:43:00 +02:00
out mixer: make struct opaque 2013-09-20 13:23:25 +02:00
audio.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02: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 core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: don't allow setting unknown formats from command line 2013-08-26 10:09:44 +02:00
format.h audio: make internal audio format 0 an invalid format 2013-08-26 10:09:41 +02:00
mixer.c af: merge af_reinit() and fix_output_format() 2013-09-20 13:43:00 +02:00
mixer.h mixer: make struct opaque 2013-09-20 13:23:25 +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