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

Unified Diff: media/audio/sounds/audio_stream_handler.cc

Issue 1487983002: 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: 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
Index: media/audio/sounds/audio_stream_handler.cc
diff --git a/media/audio/sounds/audio_stream_handler.cc b/media/audio/sounds/audio_stream_handler.cc
index ee273129debac07ada1394ae8e7b617e8d7ddd67..7174a412636eb23e42e4630eab22a904f834fcde 100644
--- a/media/audio/sounds/audio_stream_handler.cc
+++ b/media/audio/sounds/audio_stream_handler.cc
@@ -125,6 +125,8 @@ class AudioStreamHandler::AudioStreamContainer
return dest->frames();
}
+ void OnSkippedData(uint32_t frames_skipped) override {}
+
void OnError(AudioOutputStream* /* stream */) override {
LOG(ERROR) << "Error during system sound reproduction.";
AudioManager::Get()->GetTaskRunner()->PostTask(

Powered by Google App Engine
This is Rietveld 408576698