diff options
author | Eric Laurent <elaurent@google.com> | 2009-10-24 01:53:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-10-24 01:53:41 -0700 |
commit | 1784482cb0b5012e68119485dc2c806f0a7f3e37 (patch) | |
tree | a896b06aa27ea20772787f5d2adece95336869da | |
parent | 04fc5a771f83918e8c053e5f3e3c2bab867d8a8a (diff) | |
parent | 368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb (diff) | |
download | hardware_libhardware_legacy-1784482cb0b5012e68119485dc2c806f0a7f3e37.zip hardware_libhardware_legacy-1784482cb0b5012e68119485dc2c806f0a7f3e37.tar.gz hardware_libhardware_legacy-1784482cb0b5012e68119485dc2c806f0a7f3e37.tar.bz2 |
am 368a9ea2: am f163f3d6: Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Merge commit '368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb'
* commit '368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb':
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
-rw-r--r-- | include/hardware_legacy/AudioPolicyInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioPolicyInterface.h b/include/hardware_legacy/AudioPolicyInterface.h index 1a9aff5..bb4fb2a 100644 --- a/include/hardware_legacy/AudioPolicyInterface.h +++ b/include/hardware_legacy/AudioPolicyInterface.h @@ -189,6 +189,9 @@ public: // over a telephony device during a phone call. virtual status_t startTone(ToneGenerator::tone_type tone, AudioSystem::stream_type stream) = 0; virtual status_t stopTone() = 0; + + // set down link audio volume. + virtual status_t setVoiceVolume(float volume, int delayMs = 0) = 0; }; extern "C" AudioPolicyInterface* createAudioPolicyManager(AudioPolicyClientInterface *clientInterface); |