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

Unified Diff: media/audio/audio_output_dispatcher.h

Issue 2621993002: Makes AudioOutputProxy -> AudioOutputDispatcher reference weak. (Closed)
Patch Set: adds StopPhysicalStream Created 3 years, 11 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_manager_base.cc ('k') | media/audio/audio_output_dispatcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_dispatcher.h
diff --git a/media/audio/audio_output_dispatcher.h b/media/audio/audio_output_dispatcher.h
index f94f95f65389c657cef60a3393acc0ceebbd45f0..22a47dde613ae1a58cc47934634d6eeb2d45f75b 100644
--- a/media/audio/audio_output_dispatcher.h
+++ b/media/audio/audio_output_dispatcher.h
@@ -38,6 +38,11 @@ class MEDIA_EXPORT AudioOutputDispatcher {
const std::string& device_id);
virtual ~AudioOutputDispatcher();
+ // Creates an instance of AudioOutputProxy, which uses |this| as dispatcher.
+ // The client owns the returned pointer, which can be deleted using
+ // AudioOutputProxy::Close.
+ virtual AudioOutputProxy* CreateStreamProxy() = 0;
+
// Called by AudioOutputProxy to open the stream.
// Returns false, if it fails to open it.
virtual bool OpenStream() = 0;
« no previous file with comments | « media/audio/audio_manager_base.cc ('k') | media/audio/audio_output_dispatcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698