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

Unified Diff: media/audio/audio_source_diverter.h

Issue 1839723002: Experimental: Unmute Audio During Tab Sourced Desktop Share (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Loopback Sink (Rebased) Created 4 years, 8 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
« no previous file with comments | « media/audio/audio_output_controller.cc ('k') | media/audio/virtual_audio_input_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_source_diverter.h
diff --git a/media/audio/audio_source_diverter.h b/media/audio/audio_source_diverter.h
index 787ddec7867dfd693ce04623ca1bb23d4ca2c949..734f16014d30e5b951ec6cd0d16e742e78219cfa 100644
--- a/media/audio/audio_source_diverter.h
+++ b/media/audio/audio_source_diverter.h
@@ -6,6 +6,7 @@
#define MEDIA_AUDIO_AUDIO_SOURCE_DIVERTER_H_
#include "media/base/media_export.h"
+#include "media/audio/virtual_audio_output_stream.h"
// Audio sources may optionally implement AudioSourceDiverter to temporarily
// divert audio data to an alternate AudioOutputStream. This allows the audio
@@ -31,7 +32,10 @@ public:
// responsible for making sure the stream is closed, perhaps asynchronously.
virtual void StopDiverting() = 0;
-protected:
+ virtual void StartDuplicating(AudioPushSink* sink) = 0;
+ virtual void StopDuplicating(AudioPushSink* sink) = 0;
+
+ protected:
virtual ~AudioSourceDiverter() {}
};
« no previous file with comments | « media/audio/audio_output_controller.cc ('k') | media/audio/virtual_audio_input_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698