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

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: fix ifdef error 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 181622)
+++ 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;
no longer working on chromium 2013/02/11 18:20:36 Have you tested that 20ms buffer size is a good st
leozwang1 2013/02/11 21:00:48 In my local loopback test with video, I can still
no longer working on chromium 2013/02/12 20:04:46 Then why don't we increase it to a reasonable valu
leozwang1 2013/02/12 20:14:17 Most of tests I have done are video+audio. The nex
#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