summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioPolicyManagerBase.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-03-15 14:33:07 -0700
committerEric Laurent <elaurent@google.com>2011-03-15 14:33:07 -0700
commit3775706211178bf0d252fd30b9ff1c00926c8535 (patch)
tree2cf0685d5f2755cee6a1618574178c9a8101266f /include/hardware_legacy/AudioPolicyManagerBase.h
parentfafb18fb31cc4ab3c73585ba508f7643c9a9e3ad (diff)
downloadhardware_libhardware_legacy-3775706211178bf0d252fd30b9ff1c00926c8535.zip
hardware_libhardware_legacy-3775706211178bf0d252fd30b9ff1c00926c8535.tar.gz
hardware_libhardware_legacy-3775706211178bf0d252fd30b9ff1c00926c8535.tar.bz2
Improvement for issue 3489986: BT SCO volume
Add a parameter to applyStreamVolumes() to force stream volume update. Change-Id: I3cc82e516bb7c76c28c2470b06711c44f4789ce5
Diffstat (limited to 'include/hardware_legacy/AudioPolicyManagerBase.h')
-rw-r--r--include/hardware_legacy/AudioPolicyManagerBase.h2
1 files changed, 1 insertions, 1 deletions
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