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

Unified Diff: components/audio_modem/audio_player_impl.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
Index: components/audio_modem/audio_player_impl.h
diff --git a/components/audio_modem/audio_player_impl.h b/components/audio_modem/audio_player_impl.h
index 145dab6164521098b8b984ec6c0d2685c0883c70..e5eef1c42fa6b6dcd72afc1709b961c5d04076ec 100644
--- a/components/audio_modem/audio_player_impl.h
+++ b/components/audio_modem/audio_player_impl.h
@@ -58,7 +58,9 @@ class AudioPlayerImpl final
// AudioOutputStream::AudioSourceCallback overrides:
// Following methods could be called from *ANY* thread.
- int OnMoreData(media::AudioBus* dest, uint32 total_bytes_delay) override;
+ int OnMoreData(media::AudioBus* dest,
+ uint32_t total_bytes_delay,
+ uint32_t frames_skipped) override;
void OnError(media::AudioOutputStream* stream) override;
// Flushes the audio loop, making sure that any queued operations are
« no previous file with comments | « chromecast/media/audio/cast_audio_output_stream_unittest.cc ('k') | components/audio_modem/audio_player_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698