Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.

Added setVoiceVolume() method to AudioPolicyClientInterface.
This commit is contained in:
Eric Laurent 2009-10-21 08:08:44 -07:00
parent f566139de7
commit f163f3d600

View file

@ -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);