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

Unified Diff: media/base/audio_renderer_mixer.h

Issue 2517503003: Reland: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Comments from chcunningham@ and Dale Created 4 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/base/audio_parameters.h ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer.h
diff --git a/media/base/audio_renderer_mixer.h b/media/base/audio_renderer_mixer.h
index 1d432d40623b34caecb9952087ea35ceffb5cee5..d058ebf4f68f94526376bf414bdcee358f21b7bb 100644
--- a/media/base/audio_renderer_mixer.h
+++ b/media/base/audio_renderer_mixer.h
@@ -64,9 +64,10 @@ class MEDIA_EXPORT AudioRendererMixer
std::map<int, std::unique_ptr<LoopbackAudioConverter>>;
// AudioRendererSink::RenderCallback implementation.
- int Render(AudioBus* audio_bus,
- uint32_t frames_delayed,
- uint32_t frames_skipped) override;
+ int Render(base::TimeDelta delay,
+ base::TimeTicks delay_timestamp,
+ int prior_frames_skipped,
+ AudioBus* audio_bus) override;
void OnRenderError() override;
bool is_master_sample_rate(int sample_rate) {
« no previous file with comments | « media/base/audio_parameters.h ('k') | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698