1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00
mpv/audio/filter
wm4 53b5227270 audio: make internal audio format 0 an invalid format
Having to use -1 for that is generally quite annoying.

Audio formats are created from bitmasks, and it can't be excluded that
0 is not a valid format. Fix this by adjusting AF_FORMAT_I so that it
is never 0. Along with AF_FORMAT_F and the special formats, all valid
formats are covered and guaranteed to be non-0.

It's possible that this commit will cause some regressions, as the
check for invalid audio formats changes a bit.
2013-08-26 10:09:41 +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 core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +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 audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +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