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

Unified Diff: media/audio/mac/audio_auhal_mac_unittest.cc

Issue 2101303004: Pass delay and timestamp to AudioSourceCallback::OnMoreData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix Mac CQ errors. Created 4 years, 3 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
Index: media/audio/mac/audio_auhal_mac_unittest.cc
diff --git a/media/audio/mac/audio_auhal_mac_unittest.cc b/media/audio/mac/audio_auhal_mac_unittest.cc
index 9b8bb52ba1b23182060ac7f7730af64f34decd1b..e6f3878675e5feacd4bcfbb1f971d2f3af49f5c7 100644
--- a/media/audio/mac/audio_auhal_mac_unittest.cc
+++ b/media/audio/mac/audio_auhal_mac_unittest.cc
@@ -25,7 +25,7 @@ using testing::Return;
namespace media {
ACTION(ZeroBuffer) {
- arg0->Zero();
+ arg3->Zero();
}
ACTION_P3(MaybeSignalEvent, counter, signal_at_count, event) {
@@ -98,7 +98,7 @@ TEST_F(AUHALStreamTest, CreateOpenStartStopClose) {
base::WaitableEvent::InitialState::NOT_SIGNALED);
int callback_counter = 0;
const int number_of_callbacks = 2;
- EXPECT_CALL(source_, OnMoreData(_, _, _))
+ EXPECT_CALL(source_, OnMoreData(_, _, _, _))
.Times(number_of_callbacks)
.WillRepeatedly(DoAll(
ZeroBuffer(),

Powered by Google App Engine
This is Rietveld 408576698