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

Unified Diff: chromecast/media/cma/backend/cast_media_android.cc

Issue 2677143003: [Chromecast] Introduce a MediaCapabilitiesShlib::IsSupportedAudioConfig (Closed)
Patch Set: Fixed cast_media_android.cc impl Created 3 years, 9 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/media/cma/backend/cast_media_android.cc
diff --git a/chromecast/media/cma/backend/cast_media_android.cc b/chromecast/media/cma/backend/cast_media_android.cc
index 4a5b952eafdab59e5165d5766614d461a7ffa45c..b7b3238c77b421da1d69b4844bba47f89efdb98f 100644
--- a/chromecast/media/cma/backend/cast_media_android.cc
+++ b/chromecast/media/cma/backend/cast_media_android.cc
@@ -57,5 +57,12 @@ bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec,
return false;
}
+bool MediaCapabilitiesShlib::IsSupportedAudioConfig(const AudioConfig& config) {
+ // This should not be called directly.
+ NOTREACHED() << "Unexpected call to "
+ << "MediaCapabilitiesShlib::IsSupportedAudioConfig on Android";
+ return false;
+}
+
} // namespace media
} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698