commit | f997cabca292d70d078ae828e21c28e6df62995f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Jul 19 06:24:46 2010 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Jul 19 06:31:30 2010 -0700 |
tree | 8e82ee801d8465366f659028f7105ee3ca38d4cc | |
parent | 46bf665ea3687f06069ebd1a0acd01ed7b5ac9cb [diff] |
Fixed problems in audio effect volume control. Fixed the following problems in audio effect volume control in AudioFlinger: - Make sure that the volumes returned by EffectChain::setVolume_l() are correct even is no change is detected since last call - Do not use isEnabled() to validate volume control but mState >= ACTIVE instead as the volume control must be also active in STOPPING and STOPPED states. Change-Id: Id62da3164fad500ee8a5efd6cd78c77e8fdcb541