Index: media/base/android/media_codec_util.h |
diff --git a/media/base/android/media_codec_util.h b/media/base/android/media_codec_util.h |
index 7aba8e537fe87bc4eca7ea2380e9821e688a4373..4b122e3ddbec735baee580e1aea1e8640e0b89e9 100644 |
--- a/media/base/android/media_codec_util.h |
+++ b/media/base/android/media_codec_util.h |
@@ -84,6 +84,10 @@ class MEDIA_EXPORT MediaCodecUtil { |
// Indicates if MediaCodec.setOutputSurface() works on this device. |
static bool IsSetOutputSurfaceSupported(); |
+ // Return true if the compressed audio |codec| will pass through the media |
+ // pipelines without decompression. |
+ static bool IsPassthroughAudioFormat(AudioCodec codec); |
+ |
// Indicates if the decoder is known to fail when flushed. (b/8125974, |
// b/8347958) |
// When true, the client should work around the issue by releasing the |