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

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

Issue 1809093003: Moving SwitchOutputDevice out of OutputDevice interface, eliminating OutputDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace RestartableAudioRendererSink with SwitchableAudioRendererSink in webmediaplayer_impl unit t… Created 4 years, 9 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/webrtc_audio_renderer.h
diff --git a/content/renderer/media/webrtc_audio_renderer.h b/content/renderer/media/webrtc_audio_renderer.h
index 164b8f1f86958152ac24e575371d9802ee4cc063..0833bf594b655313d7b7d023a8facb8b6334cc56 100644
--- a/content/renderer/media/webrtc_audio_renderer.h
+++ b/content/renderer/media/webrtc_audio_renderer.h
@@ -37,8 +37,7 @@ class WebRtcAudioRendererSource;
// for connecting WebRtc MediaStream with the audio pipeline.
class CONTENT_EXPORT WebRtcAudioRenderer
: NON_EXPORTED_BASE(public media::AudioRendererSink::RenderCallback),
- NON_EXPORTED_BASE(public MediaStreamAudioRenderer),
- NON_EXPORTED_BASE(public media::OutputDevice) {
+ NON_EXPORTED_BASE(public MediaStreamAudioRenderer) {
public:
// This is a little utility class that holds the configured state of an audio
// stream.
@@ -122,13 +121,9 @@ class CONTENT_EXPORT WebRtcAudioRenderer
media::OutputDevice* GetOutputDevice() override;
base::TimeDelta GetCurrentRenderTime() const override;
bool IsLocalRenderer() const override;
-
- // media::OutputDevice implementation
void SwitchOutputDevice(const std::string& device_id,
const url::Origin& security_origin,
const media::SwitchOutputDeviceCB& callback) override;
- media::AudioParameters GetOutputParameters() override;
- media::OutputDeviceStatus GetDeviceStatus() override;
// Called when an audio renderer, either the main or a proxy, starts playing.
// Here we maintain a reference count of how many renderers are currently

Powered by Google App Engine
This is Rietveld 408576698