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

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

Issue 1538463002: Revert of Forward the number of skipped frames by the OS in audio playout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « media/audio/android/audio_android_unittest.cc ('k') | media/audio/audio_device_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/opensles_output.cc
diff --git a/media/audio/android/opensles_output.cc b/media/audio/android/opensles_output.cc
index 7fffe3b21f2219d30a5058a43f746205c7e372d0..2974e1418ca57454bfeff4c5abbfba4631860015 100644
--- a/media/audio/android/opensles_output.cc
+++ b/media/audio/android/opensles_output.cc
@@ -331,8 +331,8 @@
// TODO(henrika): Investigate if it is possible to get a more accurate
// delay estimation.
const uint32 hardware_delay = buffer_size_bytes_;
- int frames_filled =
- callback_->OnMoreData(audio_bus_.get(), hardware_delay, 0);
+ int frames_filled = callback_->OnMoreData(
+ audio_bus_.get(), hardware_delay);
if (frames_filled <= 0) {
// Audio source is shutting down, or halted on error.
return;
« no previous file with comments | « media/audio/android/audio_android_unittest.cc ('k') | media/audio/audio_device_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698