platform_hardware_libhardwa.../audio
Eric Laurent 4366b4a673 audio policy: fix volume upon A2DP connection
setForceUse() should not force new device selection on outputs
if the selected device is 0. If a device 0 (no device) selection
is forced on a duplicated output, this causes volumes to be reset to
their default on outputs the duplicated output is connected to.

Also force reapply volumes when a new output is created. It is safer and more
explicit than relying on the fact that the selected volume is different
from default volume and thus is actually sent to audioflinger.

Bug 6658021.

Change-Id: I0a14d5229847e001b0d44f60d41c241efdb9946a
2012-06-13 15:19:32 -07:00
..
A2dpAudioInterface.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 10:18:02 +00:00
A2dpAudioInterface.h hardware_legacy: provide HAL helpers for legacy audio users 2011-04-27 10:48:25 -07:00
Android.mk Remove obsolete references to libmedia 2012-03-19 17:31:15 -07:00
audio_hw_hal.cpp audio: update to new audio HAL device API. 2012-04-16 19:05:21 -07:00
audio_policy.conf rename audio policy flags 2012-04-18 10:42:04 -07:00
audio_policy_hal.cpp rename audio policy flags 2012-04-18 10:42:04 -07:00
AudioDumpInterface.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 10:18:02 +00:00
AudioDumpInterface.h legacy: move legacy audio code from frameworks/base here 2011-04-27 10:48:20 -07:00
AudioHardwareGeneric.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 10:18:02 +00:00
AudioHardwareGeneric.h hardware_legacy: provide HAL helpers for legacy audio users 2011-04-27 10:48:25 -07:00
AudioHardwareInterface.cpp Merge commit '5b71e6f' 2012-03-21 17:44:01 -07:00
AudioHardwareStub.cpp hardware_legacy: provide HAL helpers for legacy audio users 2011-04-27 10:48:25 -07:00
AudioHardwareStub.h hardware_legacy: provide HAL helpers for legacy audio users 2011-04-27 10:48:25 -07:00
AudioPolicyCompatClient.cpp rename audio policy flags 2012-04-18 10:42:04 -07:00
AudioPolicyCompatClient.h rename audio policy flags 2012-04-18 10:42:04 -07:00
AudioPolicyManagerBase.cpp audio policy: fix volume upon A2DP connection 2012-06-13 15:19:32 -07:00
AudioPolicyManagerDefault.cpp hardware_legacy/audio: provide a default audio policy implementation 2011-04-27 10:48:25 -07:00
AudioPolicyManagerDefault.h audio policy: use configuration file 2012-04-03 15:56:30 -07:00