summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_drc.c
Commit message (Collapse)AuthorAgeFilesLines
* af: replace macros with too generic nameswm42013-10-261-6/+7
| | | | | | | | Defining names like min, max etc. in an often used header is not really a good idea. Somewhat similar to MPlayer svn commit 36491, but don't use libavutil, because that typically causes us sorrow.
* audio/filter: remove useless af_info fieldswm42013-10-231-6/+4
| | | | | | | Drop the author and comment fields. They were completely unused - not even printed in verbose mode, just dead weight. Also use designated initializers and drop redundant flags.
* audio: add some setters for mp_audio, and require filters to use themwm42013-05-121-9/+4
| | | | | | | | | | | | | | | | mp_audio has some redundant fields. Setters like mp_audio_set_format() initialize these properly. Also move the mp_audio struct to a the file audio.c. We can remove a mysterious line of code from af.c: in.format |= af_bits2fmt(in.bps * 8); I'm not sure if this was ever actually needed, or if it was some kind of "make it work" quick-fix that works against the way things were supposed to work. All filters etc. now set the format correctly, so if there ever was a need for this code, it's definitely gone.
* Rename af_volnorm to af_drcMartin2013-02-121-0/+353
The previous name of this filter was misleading, because it doesn’t actually normalize volume levels. What it does is closer to performing low-quality dynamic range compression, hence it is now called af_drc.