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

Unified Diff: chromecast/public/cast_media_shlib.h

Issue 1105803002: Exposes a shlib interface for media/audio path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out streaming test until the default implementation is improved. Created 5 years, 5 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: chromecast/public/cast_media_shlib.h
diff --git a/chromecast/public/cast_media_shlib.h b/chromecast/public/cast_media_shlib.h
index 8b776da8a43504a11ddaf9eb2ee24d361c4419a9..5c7d012a742b3c65189f5354439fdd063a976ff8 100644
--- a/chromecast/public/cast_media_shlib.h
+++ b/chromecast/public/cast_media_shlib.h
@@ -13,6 +13,7 @@
namespace chromecast {
namespace media {
+class CastAudioOutputDevice;
class VideoPlane;
// Provides access to platform-specific media systems and hardware resources.
@@ -39,6 +40,11 @@ class CHROMECAST_EXPORT CastMediaShlib {
// While an implementation is in an initialized state, this function may be
// called at any time. The VideoPlane object must be destroyed in Finalize.
static VideoPlane* GetVideoPlane();
+
+ // Gets the CastAudioOutputDevice instance, which will be used to provide
+ // CastAudioOutputStreams. The returned instance is owned by this class, and
+ // may be destroyed in Finalize().
+ static CastAudioOutputDevice* GetAudioOutputDevice();
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698