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

Unified Diff: media/audio/null_audio_sink.cc

Issue 2452183003: Revert of Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Created 4 years, 2 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 | « media/audio/clockless_audio_sink.cc ('k') | media/base/audio_bus_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index 9e3d1f8b707e6f586c5f4e08f3c5126828ee8668..43221998047be13c71ea127f65ffba6792998295 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -92,8 +92,7 @@
void NullAudioSink::CallRender() {
DCHECK(task_runner_->BelongsToCurrentThread());
- int frames_received = callback_->Render(
- base::TimeDelta(), base::TimeTicks::Now(), 0, audio_bus_.get());
+ int frames_received = callback_->Render(audio_bus_.get(), 0, 0);
if (!audio_hash_ || frames_received <= 0)
return;
« no previous file with comments | « media/audio/clockless_audio_sink.cc ('k') | media/base/audio_bus_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698