summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-12-01 16:06:35 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-12-01 16:06:35 -0800
commit14e362617ceb67f1ae3dd09e0f7744860b5ee066 (patch)
treec1b92a411584655b6a82755d97e9c4d7f3b707b7
parent3cb64cb8bbda335affcb3c71fce3c4f908a97111 (diff)
parent831ad5246fcfcd3c91e02c079a0aee997c895ddf (diff)
downloadhardware_libhardware_legacy-14e362617ceb67f1ae3dd09e0f7744860b5ee066.zip
hardware_libhardware_legacy-14e362617ceb67f1ae3dd09e0f7744860b5ee066.tar.gz
hardware_libhardware_legacy-14e362617ceb67f1ae3dd09e0f7744860b5ee066.tar.bz2
am 831ad524: Fix issue 2641884: Bluetooth volume is dependent on in call volume.
* commit '831ad5246fcfcd3c91e02c079a0aee997c895ddf': Fix issue 2641884: Bluetooth volume is dependent on in call volume.
-rw-r--r--include/hardware_legacy/AudioPolicyManagerBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h
index 51dc684..8ffaad9 100644
--- a/include/hardware_legacy/AudioPolicyManagerBase.h
+++ b/include/hardware_legacy/AudioPolicyManagerBase.h
@@ -302,6 +302,7 @@ protected:
nsecs_t mMusicStopTime; // time when last music stream was stopped
bool mLimitRingtoneVolume; // limit ringtone volume to music volume if headset connected
uint32_t mDeviceForStrategy[NUM_STRATEGIES];
+ float mLastVoiceVolume; // last voice volume value sent to audio HAL
// Maximum CPU load allocated to audio effects in 0.1 MIPS (ARMv5TE, 0 WS memory) units
static const uint32_t MAX_EFFECTS_CPU_LOAD = 1000;