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

Unified Diff: media/audio/null_audio_sink.cc

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: Using the new BelongsTo...() function for thread checking. 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/null_audio_sink.cc
diff --git a/media/audio/null_audio_sink.cc b/media/audio/null_audio_sink.cc
index 6d40c93e2b67a28a71aaf7840977a6258408972f..f1944f890efeeca0ea63feb8546e5d4aed997f2a 100644
--- a/media/audio/null_audio_sink.cc
+++ b/media/audio/null_audio_sink.cc
@@ -79,6 +79,11 @@ OutputDeviceInfo NullAudioSink::GetOutputDeviceInfo() {
return OutputDeviceInfo();
}
+bool NullAudioSink::BelongsToRenderingThread() {
+ NOTIMPLEMENTED();
DaleCurtis 2016/06/10 18:24:49 This is used in production, so I think you want to
Henrik Grunell 2016/06/13 12:46:15 Done.
+ return false;
+}
+
void NullAudioSink::SwitchOutputDevice(const std::string& device_id,
const url::Origin& security_origin,
const OutputDeviceStatusCB& callback) {

Powered by Google App Engine
This is Rietveld 408576698