Index: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java |
diff --git a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java |
index d94839c8295d686a88700cfa9b36bf172ff2c647..24b8ab834051885c3ed6912f40e700f92e14b412 100644 |
--- a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java |
+++ b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java |
@@ -229,8 +229,7 @@ public class WebRtcAudioManager { |
// Returns true if low-latency audio output is supported. |
private boolean isLowLatencyOutputSupported() { |
- return isOpenSLESSupported() |
- && context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_LOW_LATENCY); |
+ return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUDIO_LOW_LATENCY); |
} |
// Returns true if low-latency audio input is supported. |
@@ -341,12 +340,6 @@ public class WebRtcAudioManager { |
/ bytesPerFrame; |
} |
- // Returns true if OpenSL ES audio is supported. |
- private static boolean isOpenSLESSupported() { |
- // Check for API level 9 or higher, to confirm use of OpenSL ES. |
- return WebRtcAudioUtils.runningOnGingerBreadOrHigher(); |
- } |
- |
// Helper method which throws an exception when an assertion has failed. |
private static void assertTrue(boolean condition) { |
if (!condition) { |