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:
parent
f566139de7
commit
f163f3d600
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue