commit | 0b2c37785bc63da92572d50c5c2e97950f9787a2 | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Mon Dec 14 14:22:07 2015 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Jan 12 22:05:53 2016 -0800 |
tree | 4270bb02dffae3ed72fd15f789e0af6c96097d9b | |
parent | 24a4c7be3fa71ad66b64556aeaf3a72fd64e1ccf [diff] |
policy: Avoid unnecessary set_parameter calls APM calls a set_parameter on primary output with key fm_volume whenever a checkAndSetVolume is called. This is done irrespective of whether the volume values are same of different. A side effect of doing so is that the FastMixer associated with the MixerThread will be put into HOT_IDLE unnecessarily which in turn can cause glitches/breaks in audio. CRs-Fixed: 948361 Change-Id: I7fd8b7340e6c78ee6d00b41ccf679582338c011a