On Thu, May 06, 2010 at 02:21:28PM +0300, Peter Ujfalusi wrote:
What I was wondering about is the cases when you have a codec + amp in a system.. If we take for example twl4030 and the tpa6130 connected together: than we have 4 levels of gain control inside of twl, than one additional level on the tpa side. What would be nice is to somehow limit the whole chain, but it seams really complicated thing because of the big amount of combinations that you can actually achieve the same level at the output.
Well, normally you'd only really vary one or possibly two gains in the path at runtime - everything else would be fixed by the scenario - so it's not so urgent to enforce anything over the full path, you can just deal with the controls that actually get updated dynamically.
One of the bigger use cases here is to prevent physical damage if you've got a speaker driver that can produce more power than the speaker attached to it is rated for.