summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-10-24 01:53:41 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-24 01:53:41 -0700
commit1784482cb0b5012e68119485dc2c806f0a7f3e37 (patch)
treea896b06aa27ea20772787f5d2adece95336869da
parent04fc5a771f83918e8c053e5f3e3c2bab867d8a8a (diff)
parent368a9ea290ceea2cbeeac1ac20aebc5ff5ea92eb (diff)
downloadhardware_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.h3
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);