diff options
author | Glenn Kasten <gkasten@google.com> | 2011-02-04 13:54:26 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-02-10 14:37:42 -0800 |
commit | 8b4b97a14ad9b5b982d8fe92755efabec8ad0076 (patch) | |
tree | 1cf4a2979096202ccfe5ff7399b9d37bfaccc3dc /include/media | |
parent | 138a54cb20d8ba8253b404a76a53fe88f0d43963 (diff) | |
download | frameworks_base-8b4b97a14ad9b5b982d8fe92755efabec8ad0076.zip frameworks_base-8b4b97a14ad9b5b982d8fe92755efabec8ad0076.tar.gz frameworks_base-8b4b97a14ad9b5b982d8fe92755efabec8ad0076.tar.bz2 |
Bug 3352047 Wrong message when adjusting volume
Add hidden AudioManager.getDevicesForStream and output device codes.
Change-Id: I4d1c1d3b6a077cd117720817d1f733dda557b947
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/AudioSystem.h | 1 | ||||
-rw-r--r-- | include/media/IAudioPolicyService.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index 03f8944..2dc4beb 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -392,6 +392,7 @@ public: static status_t getStreamVolumeIndex(stream_type stream, int *index); static uint32_t getStrategyForStream(stream_type stream); + static uint32_t getDevicesForStream(stream_type stream); static audio_io_handle_t getOutputForEffect(effect_descriptor_t *desc); static status_t registerEffect(effect_descriptor_t *desc, diff --git a/include/media/IAudioPolicyService.h b/include/media/IAudioPolicyService.h index 5afceaa..720a562 100644 --- a/include/media/IAudioPolicyService.h +++ b/include/media/IAudioPolicyService.h @@ -74,6 +74,7 @@ public: virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream, int index) = 0; virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream, int *index) = 0; virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream) = 0; + virtual uint32_t getDevicesForStream(AudioSystem::stream_type stream) = 0; virtual audio_io_handle_t getOutputForEffect(effect_descriptor_t *desc) = 0; virtual status_t registerEffect(effect_descriptor_t *desc, audio_io_handle_t output, |