OSDN Git Service

frameworks: av: fix bug in the volume management
authorBryant Liu <bryant_liu@htc.com>
Thu, 12 Jun 2014 14:02:41 +0000 (22:02 +0800)
committerGlenn Kasten <gkasten@google.com>
Thu, 12 Jun 2014 16:17:38 +0000 (09:17 -0700)
commitb6be7f22a82ee3bad8bcc709d21e72fc4727da09
tree9a80f902d9854437102b313aae6483e8321a2ee6
parent7903bb2b3065d58cc75637900922b434f50024d9
frameworks: av: fix bug in the volume management

which can cause volume levels to be applied twice. After applying volume
in the effect chain, the remaining volume needs to be converted back to
floating point before providing to mAudioMixer.

Bug: 15583440
Change-Id: I3c884f95b0fa9ad1b554285b069601c850c54776
Signed-off-by: Glenn Kasten <gkasten@google.com>
services/audioflinger/Threads.cpp [changed mode: 0644->0755]