diff options
| author | Karthik Reddy Katta <akkatta@codeaurora.org> | 2013-02-05 14:46:34 +0530 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2013-06-01 01:24:54 -0700 |
| commit | c1f3dc6344bd61a827ae07ef9ec9e25ead234f44 (patch) | |
| tree | 9883788f57b4a610de051b5680753ef4856f1a2e | |
| parent | 86a0c7e3fd9a58763f0614418ebb9819f1d84a8b (diff) | |
| download | android_hardware_libhardware_legacy-c1f3dc6344bd61a827ae07ef9ec9e25ead234f44.tar.gz android_hardware_libhardware_legacy-c1f3dc6344bd61a827ae07ef9ec9e25ead234f44.tar.bz2 android_hardware_libhardware_legacy-c1f3dc6344bd61a827ae07ef9ec9e25ead234f44.zip | |
libhardware_legacy: Increase stream mute timeav-test
- Increase the stream mute time to avoid audio glitches
while switching between combo devices.
Change-Id: I47d567d24ba94a864b5b4338255c20098ead146d
CRs-Fixed: 448577
| -rw-r--r-- | audio/AudioPolicyManagerBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp index d8ec61b..955ce44 100644 --- a/audio/AudioPolicyManagerBase.cpp +++ b/audio/AudioPolicyManagerBase.cpp @@ -2355,7 +2355,7 @@ uint32_t AudioPolicyManagerBase::checkDeviceMuteStrategies(AudioOutputDescriptor if (tempMute) { setStrategyMute((routing_strategy)i, true, curOutput); setStrategyMute((routing_strategy)i, false, curOutput, - desc->latency() * 2, device); + desc->latency() * 4, device); } if (tempMute || mute) { if (muteWaitMs < desc->latency()) { |
