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

Unified Diff: content/renderer/media/webrtc_local_audio_renderer.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: export fix 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/webrtc_local_audio_renderer.h
diff --git a/content/renderer/media/webrtc_local_audio_renderer.h b/content/renderer/media/webrtc_local_audio_renderer.h
index d33c384975002ab70473339e02d6d543f27103b8..96f9c75d5e08adbf6249fe1eede0c0f9718963fb 100644
--- a/content/renderer/media/webrtc_local_audio_renderer.h
+++ b/content/renderer/media/webrtc_local_audio_renderer.h
@@ -21,13 +21,13 @@
#include "content/public/renderer/media_stream_audio_sink.h"
#include "content/renderer/media/webrtc_audio_device_impl.h"
#include "content/renderer/media/webrtc_local_audio_track.h"
+#include "media/base/audio_renderer_sink.h"
#include "media/base/output_device.h"
#include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
namespace media {
class AudioBus;
class AudioShifter;
-class AudioOutputDevice;
class AudioParameters;
}
@@ -133,7 +133,7 @@ class CONTENT_EXPORT WebRtcLocalAudioRenderer
const scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
// The sink (destination) for rendered audio.
- scoped_refptr<media::AudioOutputDevice> sink_;
+ scoped_refptr<media::AudioRendererSink> sink_;
// This does all the synchronization/resampling/smoothing.
scoped_ptr<media::AudioShifter> audio_shifter_;

Powered by Google App Engine
This is Rietveld 408576698