summaryrefslogtreecommitdiff
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2009-10-21 08:14:22 -0700
committer Eric Laurent <elaurent@google.com> 2009-10-21 12:29:37 -0700
commit415f3e2875b8b0b860d0dd6a69ff6868571c36bb (patch)
tree9ce2631d183fa93c398c4691bbb8dd9a220cb2af /include/media/AudioSystem.h
parent6270d52c0dded8658733a392f3ef1f521bc5dbee (diff)
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService. Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 57f8102d5776..a7c8a0a7bd2f 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -220,6 +220,7 @@ public:
static status_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount,
size_t* buffSize);
+ static status_t setVoiceVolume(float volume);
//
// AudioPolicyService interface