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

Unified Diff: media/audio/mock_audio_source_callback.h

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/mac/audio_auhal_mac_unittest.cc ('k') | media/audio/null_audio_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mock_audio_source_callback.h
diff --git a/media/audio/mock_audio_source_callback.h b/media/audio/mock_audio_source_callback.h
index 9284d0bf04e457a6305501d8b655d8a804382b79..df661fc9ae939074efcef0717083feb6abca64d7 100644
--- a/media/audio/mock_audio_source_callback.h
+++ b/media/audio/mock_audio_source_callback.h
@@ -15,8 +15,10 @@ class MockAudioSourceCallback : public AudioOutputStream::AudioSourceCallback {
MockAudioSourceCallback();
virtual ~MockAudioSourceCallback();
- MOCK_METHOD2(OnMoreData, int(AudioBus* audio_bus,
- uint32 total_bytes_delay));
+ MOCK_METHOD3(OnMoreData,
+ int(AudioBus* audio_bus,
+ uint32_t total_bytes_delay,
+ uint32_t frames_skipped));
MOCK_METHOD1(OnError, void(AudioOutputStream* stream));
private:
« no previous file with comments | « media/audio/mac/audio_auhal_mac_unittest.cc ('k') | media/audio/null_audio_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698