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

Unified Diff: media/audio/android/audio_manager_android.cc

Issue 17209003: Enable low latency mode for audio playback on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | « content/renderer/media/webrtc_audio_renderer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/audio_manager_android.cc
===================================================================
--- media/audio/android/audio_manager_android.cc (revision 206793)
+++ media/audio/android/audio_manager_android.cc (working copy)
@@ -128,8 +128,7 @@
int frame_size = GetAudioLowLatencyOutputFrameSize();
// Return the optimal size as a multiple of the low latency frame
DaleCurtis 2013/06/17 21:49:53 Also delete this comment and just return GetAudio
wjia(left Chromium) 2013/06/17 22:04:10 Done.
// size that is close to the target frame size.
- return ((kDefaultOutputBufferSize + frame_size / 2) / frame_size) *
- frame_size;
+ return frame_size;
} else {
return std::max(kDefaultOutputBufferSize,
Java_AudioManagerAndroid_getMinOutputFrameSize(
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698