diff options
author | Eric Laurent <elaurent@google.com> | 2012-01-17 17:35:03 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-17 17:35:03 -0800 |
commit | 63ad6aacc6ce6b729bf25f41376cfea731a2c1eb (patch) | |
tree | 7f5a8de6e8540f2424668e5c650dee567194fb4d /services/audioflinger/AudioPolicyService.h | |
parent | f237a30e9344d43f832ba11db6f62c6ad2084444 (diff) | |
parent | 83844cc2f95dc279015b47fd1e18c7cb4eabe9a1 (diff) | |
download | frameworks_av-63ad6aacc6ce6b729bf25f41376cfea731a2c1eb.zip frameworks_av-63ad6aacc6ce6b729bf25f41376cfea731a2c1eb.tar.gz frameworks_av-63ad6aacc6ce6b729bf25f41376cfea731a2c1eb.tar.bz2 |
Merge "audio framework: manage stream volume per device"
Diffstat (limited to 'services/audioflinger/AudioPolicyService.h')
-rw-r--r-- | services/audioflinger/AudioPolicyService.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/services/audioflinger/AudioPolicyService.h b/services/audioflinger/AudioPolicyService.h index 127f1ec..0715790 100644 --- a/services/audioflinger/AudioPolicyService.h +++ b/services/audioflinger/AudioPolicyService.h @@ -88,8 +88,12 @@ public: virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax); - virtual status_t setStreamVolumeIndex(audio_stream_type_t stream, int index); - virtual status_t getStreamVolumeIndex(audio_stream_type_t stream, int *index); + virtual status_t setStreamVolumeIndex(audio_stream_type_t stream, + int index, + audio_devices_t device); + virtual status_t getStreamVolumeIndex(audio_stream_type_t stream, + int *index, + audio_devices_t device); virtual uint32_t getStrategyForStream(audio_stream_type_t stream); virtual uint32_t getDevicesForStream(audio_stream_type_t stream); |