[Chromecast] Add media pipeline observer

Desktop / Chromium - Thoren Paulson [chromium.org] - 11 October 2017 19:36 EDT

This is a bit of a hack to allow us to see when we're playing pass-through audio on Chromecast.

Bug: 17323611 Test: Fling some media Change-Id: Ia897a811a835b0f822eedb995e06cf4b04b16350 Reviewed-on: https://chromium-review.googlesource.com/713955

d17ee95 [Chromecast] Add media pipeline observer.
chromecast/media/cma/pipeline/BUILD.gn | 2 +
.../media/cma/pipeline/media_pipeline_impl.cc | 14 ++++++-
.../media/cma/pipeline/media_pipeline_observer.cc | 46 ++++++++++++++++++++++
.../media/cma/pipeline/media_pipeline_observer.h | 38 ++++++++++++++++++
4 files changed, 99 insertions(+), 1 deletion(-)

Upstream: git.chromium.org


  • Share