diff options
author | Eric Laurent <elaurent@google.com> | 2012-02-17 10:55:44 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-03-07 17:53:49 -0800 |
commit | b4696fc22ba822ed37bd2e3a19bc17514ccc79c8 (patch) | |
tree | f1b48da49653051f22f99e375b7c669f0cb16188 /audio/AudioPolicyManagerDefault.h | |
parent | 77d789de2664ebab2e38448c78edc41487dc8158 (diff) | |
download | hardware_libhardware_legacy-b4696fc22ba822ed37bd2e3a19bc17514ccc79c8.zip hardware_libhardware_legacy-b4696fc22ba822ed37bd2e3a19bc17514ccc79c8.tar.gz hardware_libhardware_legacy-b4696fc22ba822ed37bd2e3a19bc17514ccc79c8.tar.bz2 |
audio policy manager: more generic A2DP impl.
This change makes support for A2DP related audio policy more generic:
-removed WITH_A2DP compilation switch
-use output profile descriptors listing the parameters
(sampling rate, format...) devices and attributes (low power, tunneling...)
for each available output.
All the behavior specific to A2DP is derived from the A2DP output profile
descriptor.
- removed obsolete a2dpUsedForSonification() method.
This is a first step towards a more generic support for different audio
hardware modules (USB, HDMI) and output streams supporting different
combinations of parameters (sampling rate, format...) and attributes
(low power, tunneling...).
Ultimately, the hw modules and output descriptors will loaded from a
configuration file.
Change-Id: Ife3e49e1afbcb72613bfc8ce38919bb087ca85ea
Diffstat (limited to 'audio/AudioPolicyManagerDefault.h')
-rw-r--r-- | audio/AudioPolicyManagerDefault.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/AudioPolicyManagerDefault.h b/audio/AudioPolicyManagerDefault.h index b2b2576..96dfee1 100644 --- a/audio/AudioPolicyManagerDefault.h +++ b/audio/AudioPolicyManagerDefault.h @@ -34,10 +34,6 @@ public: protected: // true is current platform implements a back microphone virtual bool hasBackMicrophone() const { return false; } -#ifdef WITH_A2DP - // true is current platform supports suplication of notifications and ringtones over A2DP output - virtual bool a2dpUsedForSonification() const { return true; } -#endif }; }; |