From bf738d71301cb8bf38a52f1db5b4aa7d4df4bb20 Mon Sep 17 00:00:00 2001 From: henrika Date: Fri, 29 May 2015 11:42:43 +0200 Subject: [PATCH] Temporarily disabling OpenSL ES for playout. TBR=tommi BUG=b/21485703 Review URL: https://webrtc-codereview.appspot.com/52619004 Cr-Commit-Position: refs/heads/master@{#9329} --- webrtc/modules/audio_device/android/audio_manager.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webrtc/modules/audio_device/android/audio_manager.cc b/webrtc/modules/audio_device/android/audio_manager.cc index 2dc6e41700..5caeebb152 100644 --- a/webrtc/modules/audio_device/android/audio_manager.cc +++ b/webrtc/modules/audio_device/android/audio_manager.cc @@ -141,7 +141,10 @@ bool AudioManager::IsAcousticEchoCancelerSupported() const { bool AudioManager::IsLowLatencyPlayoutSupported() const { DCHECK(thread_checker_.CalledOnValidThread()); ALOGD("IsLowLatencyPlayoutSupported()"); - return low_latency_playout_; + // TODO(henrika): enable again once issue in b/21485703 has been sorted out. + // This is just a temporary fix. + ALOGW("NOTE: OpenSL ES output is currently disabled!"); + return false; } int AudioManager::GetDelayEstimateInMilliseconds() const {