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

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

Issue 1932093002: Reland: Use actual audio channel count in Spitzer audio decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug607024
Patch Set: Fix the use of out.offset: decoded data size does not depend on it. Created 4 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/android/sdk_media_codec_bridge.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 642ea32a3c901161b09b692026612f4d448632e7..57d4b86991f30b45bd78c0a0970c1638d608da24 100644
--- a/media/filters/android/media_codec_audio_decoder.h
+++ b/media/filters/android/media_codec_audio_decoder.h
@@ -8,6 +8,7 @@
#include <deque>
#include <memory>
#include <utility>
+#include <vector>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
@@ -237,6 +238,9 @@ class MEDIA_EXPORT MediaCodecAudioDecoder : public AudioDecoder {
// Cached decoder config.
AudioDecoderConfig config_;
+ // Actual channel count that comes from decoder may be different than config.
+ int channel_count_;
+
// Callback that delivers output frames.
OutputCB output_cb_;
« no previous file with comments | « media/base/android/sdk_media_codec_bridge.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