summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_drc.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.