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

Unified Diff: media/base/media_client.h

Issue 2914273004: Add IsSupportedBitstreamAudioCodec() function in MediaClient. (Closed)
Patch Set: Fix one typo Created 3 years, 6 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/base/key_systems_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index 0ebafd3ac3ad88f0dd15dec2b32f020b614b75c8..0b1bd6b5c1c4fad36e1d20f0002b68e2a8d9a0a3 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "media/base/audio_codecs.h"
#include "media/base/decode_capabilities.h"
#include "media/base/key_system_properties.h"
#include "media/base/media_export.h"
@@ -52,6 +53,10 @@ class MEDIA_EXPORT MediaClient {
// Returns true if the given video config is supported.
virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0;
+
+ // Returns true if the compressed audio |codec| format is supported by the
+ // audio sink.
+ virtual bool IsSupportedBitstreamAudioCodec(AudioCodec codec) = 0;
};
} // namespace media
« no previous file with comments | « media/base/key_systems_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698