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

Unified Diff: media/audio/audio_util.cc

Issue 12218036: Enable audio capture on Android (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: solve unit test 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
Index: media/audio/audio_util.cc
===================================================================
--- media/audio/audio_util.cc (revision 181622)
+++ media/audio/audio_util.cc (working copy)
@@ -135,6 +135,7 @@
// Use the default device (same as for Wave) for now to be compatible.
return WASAPIAudioOutputStream::HardwareSampleRate();
#elif defined(OS_ANDROID)
+ // TODO(leozwang): return native sampling rate on Android.
return 16000;
#else
// Hardware for Linux is nearly always 48KHz.
« media/audio/android/audio_manager_android.cc ('K') | « media/audio/android/audio_manager_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698