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

Unified Diff: media/blink/webaudiosourceprovider_impl_unittest.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/blink/webaudiosourceprovider_impl.cc ('k') | media/renderers/audio_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webaudiosourceprovider_impl_unittest.cc
diff --git a/media/blink/webaudiosourceprovider_impl_unittest.cc b/media/blink/webaudiosourceprovider_impl_unittest.cc
index 4a6d22ff31b1d39eb55ee7a959318e3f1d88d401..d8c4b58f1eefbd82fc3d173c6acddd5427340505 100644
--- a/media/blink/webaudiosourceprovider_impl_unittest.cc
+++ b/media/blink/webaudiosourceprovider_impl_unittest.cc
@@ -215,8 +215,7 @@
// Ensure volume adjustment is working.
fake_callback_.reset();
- fake_callback_.Render(base::TimeDelta(), base::TimeTicks::Now(), 0,
- bus2.get());
+ fake_callback_.Render(bus2.get(), 0, 0);
bus2->Scale(kTestVolume);
fake_callback_.reset();
@@ -235,11 +234,9 @@
// configuring the fake callback to return half the data. After these calls
// bus1 is full of junk data, and bus2 is partially filled.
wasp_impl_->SetVolume(1);
- fake_callback_.Render(base::TimeDelta(), base::TimeTicks::Now(), 0,
- bus1.get());
- fake_callback_.reset();
- fake_callback_.Render(base::TimeDelta(), base::TimeTicks::Now(), 0,
- bus2.get());
+ fake_callback_.Render(bus1.get(), 0, 0);
+ fake_callback_.reset();
+ fake_callback_.Render(bus2.get(), 0, 0);
bus2->ZeroFramesPartial(bus2->frames() / 2,
bus2->frames() - bus2->frames() / 2);
fake_callback_.reset();
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.cc ('k') | media/renderers/audio_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698