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

Unified Diff: media/blink/webaudiosourceprovider_impl_unittest.cc

Issue 1538563002: 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: Code review fix. git cl format. Rebase. 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/blink/webaudiosourceprovider_impl.cc ('k') | media/cast/test/receiver.cc » ('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 c0d607053b80f75b14cea0667cca865d93c5d630..fddabbc30058f5d34bbb40293b1deefc16f14e7b 100644
--- a/media/blink/webaudiosourceprovider_impl_unittest.cc
+++ b/media/blink/webaudiosourceprovider_impl_unittest.cc
@@ -197,7 +197,7 @@ TEST_F(WebAudioSourceProviderImplTest, ProvideInput) {
// Ensure volume adjustment is working.
fake_callback_.reset();
- fake_callback_.Render(bus2.get(), 0);
+ fake_callback_.Render(bus2.get(), 0, 0);
bus2->Scale(kTestVolume);
fake_callback_.reset();
@@ -216,9 +216,9 @@ TEST_F(WebAudioSourceProviderImplTest, ProvideInput) {
// 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(bus1.get(), 0);
+ fake_callback_.Render(bus1.get(), 0, 0);
fake_callback_.reset();
- fake_callback_.Render(bus2.get(), 0);
+ 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/cast/test/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698