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

Unified Diff: content/renderer/media/webrtc_audio_capturer.cc

Issue 12218036: Enable audio capture on Android (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: rebase Created 7 years, 10 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 | content/renderer/media/webrtc_audio_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_capturer.cc
===================================================================
--- content/renderer/media/webrtc_audio_capturer.cc (revision 181934)
+++ content/renderer/media/webrtc_audio_capturer.cc (working copy)
@@ -52,6 +52,9 @@
// TODO(henrika): It might be possible to reduce the input buffer
// size and reduce the delay even more.
buffer_size = 2 * sample_rate / 100;
+#elif defined(OS_ANDROID)
+ // TODO(leozwang): Tune and adjust buffer size on Android.
+ buffer_size = 2 * sample_rate / 100;
#endif
return buffer_size;
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698