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

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

Issue 25062005: Add ability to determine if a capture sink is a renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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_device_impl.h
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h
index b644178030b5009677935ad1a45bbf80033479b4..d6f740add8645f9d946c295e3586873ac1dbc634 100644
--- a/content/renderer/media/webrtc_audio_device_impl.h
+++ b/content/renderer/media/webrtc_audio_device_impl.h
@@ -228,6 +228,7 @@ class WebRtcAudioCapturerSink {
// Set the format for the capture audio parameters.
virtual void SetCaptureFormat(const media::AudioParameters& params) = 0;
+ virtual bool IsRenderer() const;
protected:
virtual ~WebRtcAudioCapturerSink() {}

Powered by Google App Engine
This is Rietveld 408576698