Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java

Issue 1392903005: Removing M API call for now to green up downstream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix other breakage as well. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java
diff --git a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java
index 84e3fb8ed76c27644c1c5404bad3467812cc5355..ff776358436699ef976b692a8cea71d98cfdbeea 100644
--- a/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java
+++ b/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java
@@ -214,15 +214,18 @@ class WebRtcAudioRecord {
if (effects != null) {
effects.enable(audioRecord.getAudioSessionId());
}
- if (WebRtcAudioUtils.runningOnMOrHigher()) {
+ // TODO(phoglund): put back audioRecord.getBufferSizeInFrames when
+ // all known downstream users supports M.
+ // if (WebRtcAudioUtils.runningOnMOrHigher()) {
// Returns the frame count of the native AudioRecord buffer. This is
// greater than or equal to the bufferSizeInBytes converted to frame
// units. The native frame count may be enlarged to accommodate the
// requirements of the source on creation or if the AudioRecord is
// subsequently rerouted.
- Logging.d(TAG, "bufferSizeInFrames: "
- + audioRecord.getBufferSizeInFrames());
- }
+
+ // Logging.d(TAG, "bufferSizeInFrames: "
+ // + audioRecord.getBufferSizeInFrames());
+ //}
return framesPerBuffer;
}
« no previous file with comments | « no previous file | webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698