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

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

Issue 2572573007: Use passthrough decoder for (E)AC3 formats (Closed)
Patch Set: Use BitReader to unpack header fileds Created 4 years 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: 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 9e08d73807493c4e51e000d25ad47fa48e245b22..91f25f81690b1662ce7370b5185788d1798e430e 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_;

Powered by Google App Engine
This is Rietveld 408576698