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

Unified Diff: media/renderers/audio_renderer_impl.h

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Improve CastMediaClient::IsSupportedPassthroughAudio() Created 4 years, 1 month 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 6ab57ae3a978b6675d4c11ab35c30abfc6da2224..879bc335902ee695c2b5f50fe54ec3da007bc71a 100644
--- a/media/renderers/audio_renderer_impl.h
+++ b/media/renderers/audio_renderer_impl.h
@@ -290,6 +290,9 @@ class MEDIA_EXPORT AudioRendererImpl
// suspend/is suspended and when it resumes.
bool is_suspending_;
+ // Whether to pass compressed audio bitstream to audio sink directly.
+ bool is_passthrough_;
+
// Track the last reported media time.
base::TimeDelta last_reported_media_time_;

Powered by Google App Engine
This is Rietveld 408576698