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

Unified Diff: media/audio/audio_output_stream_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: 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/audio_output_stream_sink.cc
diff --git a/media/audio/audio_output_stream_sink.cc b/media/audio/audio_output_stream_sink.cc
index 3acc6a8947ede20607e05589e6ebddcdf54768b2..b94e2d265847d33f2a93cab9dc3e8a90a7cbd140 100644
--- a/media/audio/audio_output_stream_sink.cc
+++ b/media/audio/audio_output_stream_sink.cc
@@ -77,6 +77,11 @@ OutputDeviceInfo AudioOutputStreamSink::GetOutputDeviceInfo() {
return OutputDeviceInfo();
}
+bool AudioOutputStreamSink::CurrentThreadIsRenderingThread() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
int AudioOutputStreamSink::OnMoreData(AudioBus* dest,
uint32_t total_bytes_delay,
uint32_t frames_skipped) {

Powered by Google App Engine
This is Rietveld 408576698