1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/audio/filter
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
..
af_bs2b.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
af_center.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_channels.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_delay.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_drc.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_dummy.c audio/filter: replace pointless memcpys with assignments 2013-04-13 04:21:27 +02:00
af_equalizer.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_export.c af_export: fix compilation warning 2013-09-19 14:30:53 +02:00
af_extrastereo.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_force.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
af_format.c audio: make internal audio format 0 an invalid format 2013-08-26 10:09:41 +02:00
af_hrtf.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_hrtf.h
af_karaoke.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_ladspa.c af_ladspa: code cleanup 2013-05-12 21:24:56 +02:00
af_lavcac3enc.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
af_lavfi.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
af_lavrresample.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
af_pan.c af_pan: set unknown channel layout for output 2013-05-12 21:24:54 +02:00
af_scaletempo.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
af_sinesuppress.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_sub.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_surround.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_sweep.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_tools.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_volume.c mixer, af_volume: use linear values instead of dB 2013-09-19 14:31:55 +02:00
af.c af: merge af_reinit() and fix_output_format() 2013-09-20 13:43:00 +02:00
af.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
control.h audio/filter: remove unused AF_CONTROLs 2013-05-12 20:55:50 +02:00
dsp.h
equalizer.h
filter.c
filter.h
window.c
window.h