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

Unified Diff: components/audio_modem/audio_player_impl.h

Issue 2101303004: Pass delay and timestamp to AudioSourceCallback::OnMoreData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 6 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..188459f4457e5d8e12a51455ae7bb45be8438c1f 100644
--- a/components/audio_modem/audio_player_impl.h
+++ b/components/audio_modem/audio_player_impl.h
@@ -14,6 +14,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
+#include "base/time/time.h"
#include "components/audio_modem/audio_player.h"
#include "media/audio/audio_io.h"
@@ -63,6 +64,7 @@ class AudioPlayerImpl final
// Following methods could be called from *ANY* thread.
int OnMoreData(media::AudioBus* dest,
uint32_t total_bytes_delay,
+ base::TimeStamp delay_timestamp,
uint32_t frames_skipped) override;
void OnError(media::AudioOutputStream* stream) override;

Powered by Google App Engine
This is Rietveld 408576698