OSDN Git Service

Limit maximum equalizer gain.
authorEric Laurent <elaurent@google.com>
Mon, 10 Sep 2012 23:27:35 +0000 (16:27 -0700)
committerEric Laurent <elaurent@google.com>
Tue, 11 Sep 2012 01:21:27 +0000 (18:21 -0700)
commit1b6c677c4bad5c1aea4f01277cf5aa234ad4cab4
treee8fa7869cee2cb02922ea342ef74d03fe6bb3526
parentfd48021dfc3278b048ba99ecffe7f996751fb440
Limit maximum equalizer gain.

Limit maximum gain in all EQ bands according to current volume so that
total gain (current volume + band gain) does not exceed a certain limit.
The gain difference between bands is preserved.

Change-Id: Ice5a9705a0b3353e8778b4c539a29ca9cdf60390
media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp
media/libeffects/lvm/wrapper/Bundle/EffectBundle.h