diff options
author | Eric Laurent <elaurent@google.com> | 2009-12-10 01:03:50 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-01-13 09:25:13 -0800 |
commit | cef3cd79489fa7897ffbacbc4e435651fb04f10d (patch) | |
tree | fd0d5f2763f08b01314ec7015c0a2e027e916c20 /include/media | |
parent | a77f93f76a40128ecc3d017ead6d1105f96b282a (diff) | |
download | frameworks_base-cef3cd79489fa7897ffbacbc4e435651fb04f10d.zip frameworks_base-cef3cd79489fa7897ffbacbc4e435651fb04f10d.tar.gz frameworks_base-cef3cd79489fa7897ffbacbc4e435651fb04f10d.tar.bz2 |
Create base class for audio policy manager.
First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms.
Creating AudioPolicyManagerBase base class will improve code maintainability and readability.
Audio policy manager code for platforms using generic audio previously in AudioPolicyManagerGeneric is replaced by AudioPolicyManagerBase.
Audio policy manager test code previously in AudioPolicyManagerGeneric is moved to AudioPolicyManagerBase.
Also added a wake lock for delayed commands in AudioPolicyService.
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/AudioSystem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index c87007c..f935bb9 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -244,6 +244,8 @@ public: DEVICE_OUT_WIRED_HEADPHONE | DEVICE_OUT_BLUETOOTH_SCO | DEVICE_OUT_BLUETOOTH_SCO_HEADSET | DEVICE_OUT_BLUETOOTH_SCO_CARKIT | DEVICE_OUT_BLUETOOTH_A2DP | DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES | DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER | DEVICE_OUT_AUX_DIGITAL | DEVICE_OUT_DEFAULT), + DEVICE_OUT_ALL_A2DP = (DEVICE_OUT_BLUETOOTH_A2DP | DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES | + DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER), // input devices DEVICE_IN_COMMUNICATION = 0x10000, |