[Chromecast] Let CastAudioManager provide ALSA AudioInputStreams

Desktop / Chromium - Jenny Wong [chromium.org] - 14 July 2017 16:36 EDT

CastAudioManager should only be used on platforms that use ALSA.

BUG=internal 35197382 TEST=internal CQ

Change-Id: I259dc5a5798c5a7144641a09ae6aede18125c0a6 Reviewed-on: https://chromium-review.googlesource.com/565625 Commit-Queue: Jenny Wong

c861f7b [Chromecast] Let CastAudioManager provide ALSA AudioInputStreams.
chromecast/browser/BUILD.gn | 2 +
chromecast/browser/cast_content_browser_client.cc | 12 ++
chromecast/media/BUILD.gn | 5 +
chromecast/media/audio/BUILD.gn | 11 ++
chromecast/media/audio/cast_audio_manager.cc | 9 +-
chromecast/media/audio/cast_audio_manager_alsa.cc | 213 +++++++++++++++++++++
chromecast/media/audio/cast_audio_manager_alsa.h | 82 ++++++++
.../audio/cast_audio_manager_alsa_unittest.cc | 68 +++++++
8 files changed, 400 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share