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

Unified Diff: media/audio/cras/cras_unified_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/audio/cras/cras_unified.cc ('k') | media/audio/fake_audio_input_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/cras/cras_unified_unittest.cc
diff --git a/media/audio/cras/cras_unified_unittest.cc b/media/audio/cras/cras_unified_unittest.cc
index 2f29bfa566419c75328d26c59b486e99b0fd3cc2..64014c63fb0486868092e4f241d270bfc1e99940 100644
--- a/media/audio/cras/cras_unified_unittest.cc
+++ b/media/audio/cras/cras_unified_unittest.cc
@@ -142,10 +142,10 @@ TEST_F(CrasUnifiedStreamTest, RenderFrames) {
base::WaitableEvent event(false, false);
- EXPECT_CALL(mock_callback, OnMoreData(_, _))
- .WillRepeatedly(DoAll(
- InvokeWithoutArgs(&event, &base::WaitableEvent::Signal),
- Return(kTestFramesPerPacket)));
+ EXPECT_CALL(mock_callback, OnMoreData(_, _, 0))
+ .WillRepeatedly(
+ DoAll(InvokeWithoutArgs(&event, &base::WaitableEvent::Signal),
+ Return(kTestFramesPerPacket)));
test_stream->Start(&mock_callback);
« no previous file with comments | « media/audio/cras/cras_unified.cc ('k') | media/audio/fake_audio_input_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698