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

Unified Diff: chromecast/public/media/media_capabilities_shlib.h

Issue 2677143003: [Chromecast] Introduce a MediaCapabilitiesShlib::IsSupportedAudioConfig (Closed)
Patch Set: Created 3 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: chromecast/public/media/media_capabilities_shlib.h
diff --git a/chromecast/public/media/media_capabilities_shlib.h b/chromecast/public/media/media_capabilities_shlib.h
index 98dbe5cd9504ecb89cc1d3441abd30bd67ee2e87..96adfec0bb03aedfcef13586113bc96260d09567 100644
--- a/chromecast/public/media/media_capabilities_shlib.h
+++ b/chromecast/public/media/media_capabilities_shlib.h
@@ -25,6 +25,9 @@ class CHROMECAST_EXPORT MediaCapabilitiesShlib {
static bool IsSupportedVideoConfig(VideoCodec codec,
VideoProfile profile,
int level);
+
+ // Return true if the platform supports the given audio |config|.
+ static bool IsSupportedAudioConfig(const AudioConfig& config);
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698