From 3775706211178bf0d252fd30b9ff1c00926c8535 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Tue, 15 Mar 2011 14:33:07 -0700 Subject: Improvement for issue 3489986: BT SCO volume Add a parameter to applyStreamVolumes() to force stream volume update. Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5 --- include/hardware_legacy/AudioPolicyManagerBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hardware_legacy/AudioPolicyManagerBase.h') diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h index e50552a..1b03267 100644 --- a/include/hardware_legacy/AudioPolicyManagerBase.h +++ b/include/hardware_legacy/AudioPolicyManagerBase.h @@ -245,7 +245,7 @@ protected: // check that volume change is permitted, compute and send new volume to audio hardware status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs = 0, bool force = false); // apply all stream volumes to the specified output and device - void applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs = 0); + void applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs = 0, bool force = false); // Mute or unmute all streams handled by the specified strategy on the specified output void setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs = 0); // Mute or unmute the stream on the specified output -- cgit v1.1