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

Unified Diff: content/renderer/media/renderer_webaudiodevice_impl.h

Issue 1666363005: Switching audio clients to using RestartableAudioRendererSink interface as a sink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing RestartableAudioOutputDevice interface Created 4 years, 10 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: content/renderer/media/renderer_webaudiodevice_impl.h
diff --git a/content/renderer/media/renderer_webaudiodevice_impl.h b/content/renderer/media/renderer_webaudiodevice_impl.h
index db9f86c9c3c38afebe957db41dcdbf1c621365b0..67bd32fa8fc1018a61a62a3057bb8dba99426daa 100644
--- a/content/renderer/media/renderer_webaudiodevice_impl.h
+++ b/content/renderer/media/renderer_webaudiodevice_impl.h
@@ -22,7 +22,6 @@ class SingleThreadTaskRunner;
}
namespace media {
-class AudioOutputDevice;
class NullAudioSink;
}
@@ -61,7 +60,7 @@ class RendererWebAudioDeviceImpl
base::ThreadChecker thread_checker_;
// When non-NULL, we are started. When NULL, we are stopped.
- scoped_refptr<media::AudioOutputDevice> output_device_;
+ scoped_refptr<media::RestartableAudioRendererSink> sink_;
// ID to allow browser to select the correct input device for unified IO.
int session_id_;

Powered by Google App Engine
This is Rietveld 408576698