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

Unified Diff: media/renderers/audio_renderer_impl.h

Issue 2752323002: Support Opus Ambisonics playback (Closed)
Patch Set: +tests Created 3 years, 9 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
Index: media/renderers/audio_renderer_impl.h
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
index f7915d31a607bdc512ac96704a1ddc7085c8d5cf..1f8550df33da64f6fe6ff4a53892e4bccb76c186 100644
--- a/media/renderers/audio_renderer_impl.h
+++ b/media/renderers/audio_renderer_impl.h
@@ -242,6 +242,10 @@ class MEDIA_EXPORT AudioRendererImpl
// given to the |algorithm_| for efficient playback rate changes.
ChannelLayout last_decoded_channel_layout_;
+ // Similar to |last_decoded_channel_layout_|, used to configure the channel
+ // mask given to the |algorithm_| for efficient playback rate changes.
+ int last_decoded_channels_;
+
// After Initialize() has completed, all variables below must be accessed
// under |lock_|. ------------------------------------------------------------
base::Lock lock_;

Powered by Google App Engine
This is Rietveld 408576698