diff options
| author | Eric Laurent <elaurent@google.com> | 2009-10-21 08:08:44 -0700 |
|---|---|---|
| committer | Eric Laurent <elaurent@google.com> | 2009-10-21 08:08:44 -0700 |
| commit | f163f3d600c056de0bdca6d12555a0225f76ec9a (patch) | |
| tree | a896b06aa27ea20772787f5d2adece95336869da /include | |
| parent | f566139de7e3c21e82e1736b62910cc89c9194fe (diff) | |
| download | hardware_libhardware_legacy-f163f3d600c056de0bdca6d12555a0225f76ec9a.tar.gz hardware_libhardware_legacy-f163f3d600c056de0bdca6d12555a0225f76ec9a.tar.bz2 hardware_libhardware_legacy-f163f3d600c056de0bdca6d12555a0225f76ec9a.zip | |
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Added setVoiceVolume() method to AudioPolicyClientInterface.
Diffstat (limited to 'include')
| -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); |
