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

Unified Diff: media/audio/clockless_audio_sink.h

Issue 2038053002: Change audio render thread checking to use new AudioRendererSink::BelongsToRendererThread() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Rebase. 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: media/audio/clockless_audio_sink.h
diff --git a/media/audio/clockless_audio_sink.h b/media/audio/clockless_audio_sink.h
index a6db62c57854e9126c2834d3ad507ef66a2eec46..2b60d831f65d84610a6528c22d2bc1656acb6585 100644
--- a/media/audio/clockless_audio_sink.h
+++ b/media/audio/clockless_audio_sink.h
@@ -37,6 +37,7 @@ class MEDIA_EXPORT ClocklessAudioSink
void Play() override;
bool SetVolume(double volume) override;
OutputDeviceInfo GetOutputDeviceInfo() override;
+ bool CurrentThreadIsRenderingThread() override;
// Returns the time taken to consume all the audio.
base::TimeDelta render_time() { return playback_time_; }

Powered by Google App Engine
This is Rietveld 408576698