summaryrefslogtreecommitdiffstats
path: root/media/libeffects/loudness/EffectLoudnessEnhancer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* audio effects: fix heap overflowEric Laurent2015-06-191-6/+6
| | | | | | | | | | | Check consistency of effect command reply sizes before copying to reply address. Also add null pointer check on reply size. Also remove unused parameter warning. Bug: 21953516. Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
* libeffects: do not use GNU old-style field designatorssynergy dev2013-12-171-7/+7
| | | | | | Avoiding the use of GCC extensions improves code portability Change-Id: I9edbedc5c8ad4aa46ca54bc2e28280441431a530
* LoudnessEnhancer compatible with stereo imagingJean-Michel Trivi2013-09-261-25/+17
| | | | | | | | | Use a single compressor for both channels. Envelope of signal is determined by looking at both channels. Bug 8413913 Change-Id: Ia9b6f34923d2977c60a3352500b858dfa1fab33c
* LoudnessEnhancer audio effect implementationJean-Michel Trivi2013-09-171-0/+474
Implementation based on DRC effect, controlled by a target gain. The target gain is used to amplify the signal at the input of the DRC, and to compute the knee of the DRC. Bug 8413913 Change-Id: I386d64793a9fa3f7218e053d6f0a99f6836c02bd