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

Issue 651373003: Add support for real audio output to mojo. (Closed)

Created:
6 years, 2 months ago by DaleCurtis
Modified:
6 years, 2 months ago
Reviewers:
jamesr, xhwang
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@mojo_ari
Project:
chromium
Visibility:
Public.

Description

Add support for real audio output to mojo. This isn't what we want to do long term, but it allows audio playback for now. It's just an adapter between the browser side AudioOutputStream and the renderer side AudioRendererSink. Note this will not work if html_viewer is sandboxed, which is why we need to come up with a generic audio output service next. BUG=none TEST=mojo demo launcher Committed: https://crrev.com/b8792792795dd2c1956fcce4e93d1a7e46fb2218 Cr-Commit-Position: refs/heads/master@{#300794}

Patch Set 1 : Cleanup. #

Total comments: 2

Patch Set 2 : Bug. #

Total comments: 7

Patch Set 3 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -4 lines) Patch
M media/audio/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A media/audio/audio_output_stream_sink.h View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
A media/audio/audio_output_stream_sink.cc View 1 chunk +126 lines, -0 lines 0 comments Download
M media/media.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/webmediaplayer_factory.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
DaleCurtis
Based on email discussions, we'll go ahead and land this. Please review.
6 years, 2 months ago (2014-10-21 00:13:42 UTC) #3
jamesr
mojo/ lgtm https://codereview.chromium.org/651373003/diff/20001/mojo/services/html_viewer/webmediaplayer_factory.cc File mojo/services/html_viewer/webmediaplayer_factory.cc (right): https://codereview.chromium.org/651373003/diff/20001/mojo/services/html_viewer/webmediaplayer_factory.cc#newcode74 mojo/services/html_viewer/webmediaplayer_factory.cc:74: // TODO(dalecurtis): Replace this with an interface ...
6 years, 2 months ago (2014-10-21 00:15:45 UTC) #4
DaleCurtis
https://codereview.chromium.org/651373003/diff/20001/mojo/services/html_viewer/webmediaplayer_factory.cc File mojo/services/html_viewer/webmediaplayer_factory.cc (right): https://codereview.chromium.org/651373003/diff/20001/mojo/services/html_viewer/webmediaplayer_factory.cc#newcode74 mojo/services/html_viewer/webmediaplayer_factory.cc:74: // TODO(dalecurtis): Replace this with an interface to an ...
6 years, 2 months ago (2014-10-21 00:23:32 UTC) #5
xhwang
lgtm % nits https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h File media/audio/audio_output_stream_sink.h (right): https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h#newcode36 media/audio/audio_output_stream_sink.h:36: virtual bool SetVolume(double volume) override; s/virtual// ...
6 years, 2 months ago (2014-10-22 16:31:53 UTC) #6
DaleCurtis
https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h File media/audio/audio_output_stream_sink.h (right): https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h#newcode36 media/audio/audio_output_stream_sink.h:36: virtual bool SetVolume(double volume) override; On 2014/10/22 16:31:53, xhwang ...
6 years, 2 months ago (2014-10-22 21:33:44 UTC) #7
xhwang
https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h File media/audio/audio_output_stream_sink.h (right): https://codereview.chromium.org/651373003/diff/40001/media/audio/audio_output_stream_sink.h#newcode57 media/audio/audio_output_stream_sink.h:57: // Parameters provided by Initialize(), cached for use on ...
6 years, 2 months ago (2014-10-22 21:37:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/651373003/60001
6 years, 2 months ago (2014-10-22 21:41:20 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001)
6 years, 2 months ago (2014-10-22 23:33:42 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 23:35:37 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b8792792795dd2c1956fcce4e93d1a7e46fb2218
Cr-Commit-Position: refs/heads/master@{#300794}

Powered by Google App Engine
This is Rietveld 408576698