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

Unified Diff: media/filters/android/media_codec_audio_decoder.h

Issue 2572573007: Use passthrough decoder for (E)AC3 formats (Closed)
Patch Set: Sanity checks Created 3 years, 7 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/mime_util_unittest.cc ('k') | media/filters/android/media_codec_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/android/media_codec_audio_decoder.h
diff --git a/media/filters/android/media_codec_audio_decoder.h b/media/filters/android/media_codec_audio_decoder.h
index e5a8958f147938ee7c44e54647a213f278b0c1d2..271ca6ea8424d10bd0d5bf2b45402a892eccea02 100644
--- a/media/filters/android/media_codec_audio_decoder.h
+++ b/media/filters/android/media_codec_audio_decoder.h
@@ -168,6 +168,12 @@ class MEDIA_EXPORT MediaCodecAudioDecoder : public AudioDecoder,
// Cached decoder config.
AudioDecoderConfig config_;
+ // Indication to use passthrough decoder or not.
+ bool is_passthrough_;
+
+ // The audio sample format of the audio decoder output.
+ SampleFormat sample_format_;
+
// Actual channel count that comes from decoder may be different than config.
int channel_count_;
ChannelLayout channel_layout_;
« no previous file with comments | « media/base/mime_util_unittest.cc ('k') | media/filters/android/media_codec_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698