summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioPolicyInterface.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-02-10 13:31:26 -0800
committerGlenn Kasten <gkasten@google.com>2011-02-10 13:31:26 -0800
commitfafb18fb31cc4ab3c73585ba508f7643c9a9e3ad (patch)
tree1cbf19f130012f0ac85bcbeeb76dd888d16370e9 /include/hardware_legacy/AudioPolicyInterface.h
parent793dd9f2be9c802c5e78831fe6765d697466eaf4 (diff)
downloadhardware_libhardware_legacy-fafb18fb31cc4ab3c73585ba508f7643c9a9e3ad.zip
hardware_libhardware_legacy-fafb18fb31cc4ab3c73585ba508f7643c9a9e3ad.tar.gz
hardware_libhardware_legacy-fafb18fb31cc4ab3c73585ba508f7643c9a9e3ad.tar.bz2
Bug 3352047 Wrong message when adjusting volume
Add hidden AudioManager.getDevicesForStream and output device codes. Change-Id: I45be59a2774196a135d013e45f38033036f74257
Diffstat (limited to 'include/hardware_legacy/AudioPolicyInterface.h')
-rw-r--r--include/hardware_legacy/AudioPolicyInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioPolicyInterface.h b/include/hardware_legacy/AudioPolicyInterface.h
index df4e72a..76f9c7a 100644
--- a/include/hardware_legacy/AudioPolicyInterface.h
+++ b/include/hardware_legacy/AudioPolicyInterface.h
@@ -132,6 +132,9 @@ public:
// return the strategy corresponding to a given stream type
virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream) = 0;
+ // return the enabled output devices for the given stream type
+ virtual uint32_t getDevicesForStream(AudioSystem::stream_type stream) = 0;
+
// Audio effect management
virtual audio_io_handle_t getOutputForEffect(effect_descriptor_t *desc) = 0;
virtual status_t registerEffect(effect_descriptor_t *desc,