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

Unified Diff: components/audio_modem/audio_player_impl.h

Issue 2060833002: Implementation of 'AudioContext.getOutputTimestamp' method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added implementation for ALSA. Created 4 years, 5 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: 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 3507c699d0abcc14164981c5a7fabbe4433b1ca1..b4b2d8b94b7fc605eb057a749fbe15224578a3e7 100644
--- a/components/audio_modem/audio_player_impl.h
+++ b/components/audio_modem/audio_player_impl.h
@@ -63,7 +63,8 @@ class AudioPlayerImpl final
// Following methods could be called from *ANY* thread.
int OnMoreData(media::AudioBus* dest,
uint32_t total_bytes_delay,
- uint32_t frames_skipped) override;
+ uint32_t frames_skipped,
+ const media::AudioTimestamp& output_timestamp) override;
void OnError(media::AudioOutputStream* stream) override;
bool is_playing_;

Powered by Google App Engine
This is Rietveld 408576698