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

Unified Diff: media/base/fake_audio_renderer_sink.h

Issue 2004283002: AudioConverter: Express delay in frames rather than msec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed files & removed rounding Created 4 years, 7 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
« no previous file with comments | « media/base/fake_audio_render_callback.cc ('k') | media/base/fake_audio_renderer_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_audio_renderer_sink.h
diff --git a/media/base/fake_audio_renderer_sink.h b/media/base/fake_audio_renderer_sink.h
index 85834722d4cf898ee5b875f9f49a00388502cf32..c38b2b65e0f88701d4c9a40afdd29189f0004171 100644
--- a/media/base/fake_audio_renderer_sink.h
+++ b/media/base/fake_audio_renderer_sink.h
@@ -39,15 +39,13 @@ class FakeAudioRendererSink : public AudioRendererSink {
OutputDeviceInfo GetOutputDeviceInfo() override;
// Attempts to call Render() on the callback provided to
- // Initialize() with |dest| and |audio_delay_milliseconds|.
+ // Initialize() with |dest| and |frames_delayed|.
// Returns true and sets |frames_written| to the return value of the
// Render() call.
// Returns false if this object is in a state where calling Render()
// should not occur. (i.e., in the kPaused or kStopped state.) The
// value of |frames_written| is undefined if false is returned.
- bool Render(AudioBus* dest,
- uint32_t audio_delay_milliseconds,
- int* frames_written);
+ bool Render(AudioBus* dest, uint32_t frames_delayed, int* frames_written);
void OnRenderError();
State state() const { return state_; }
« no previous file with comments | « media/base/fake_audio_render_callback.cc ('k') | media/base/fake_audio_renderer_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698