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

Issue 1105803002: Exposes a shlib interface for media/audio path. (Closed)

Created:
5 years, 8 months ago by slan
Modified:
5 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, lcwu+watch_chromium.org, gunsch+watch_chromium.org, kmackay
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduces media interface for third-party Cast clients. Adds interfaces to chromecast/public for output audio streams. These interfaces are intended to be implemented by third-party clients, without dependencies on other parts of Chromium. Introduces a number of classes which translate chromecast interfaces to their media:: counterparts. BUG=None

Patch Set 1 #

Total comments: 10

Patch Set 2 : Name refactoring. #

Total comments: 20

Patch Set 3 : Minor clean-up #

Total comments: 58

Patch Set 4 : #

Patch Set 5 : Add public/ interfaces to CastMediaShlib #

Patch Set 6 : Updates to interfacesa and impls to coordinate with CMA CL #

Total comments: 18

Patch Set 7 : Tidy up the public interfaces. #

Patch Set 8 : Move cast_audio_output* interfaces to public/media/ #

Total comments: 10

Patch Set 9 : Removed qualifiers from shlib interface. #

Patch Set 10 : Comment out streaming test until the default implementation is improved. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1328 lines, -17 lines) Patch
A chromecast/base/task_runner_impl.h View 1 2 3 4 5 6 1 chunk +40 lines, -0 lines 0 comments Download
A chromecast/base/task_runner_impl.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 1 2 3 4 4 chunks +5 lines, -11 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M chromecast/media/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chromecast/media/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chromecast/media/audio/BUILD.gn View 1 1 chunk +23 lines, -0 lines 0 comments Download
A + chromecast/media/audio/DEPS View 1 chunk +2 lines, -1 line 0 comments Download
A chromecast/media/audio/cast_audio_manager.h View 1 2 3 4 5 1 chunk +83 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_manager.cc View 1 2 3 4 5 6 7 1 chunk +125 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_manager_factory.h View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_manager_factory.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_manager_factory_test.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +239 lines, -0 lines 0 comments Download
A chromecast/media/audio/cast_audio_stream_test.cc View 1 2 3 4 5 1 chunk +169 lines, -0 lines 0 comments Download
A chromecast/media/audio/chromecast_device_audio_output_stream.h View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A chromecast/media/audio/chromecast_device_audio_output_stream.cc View 1 2 3 4 5 6 1 chunk +109 lines, -0 lines 0 comments Download
M chromecast/media/base/cast_media_default.cc View 1 2 3 4 5 6 7 8 3 chunks +50 lines, -0 lines 0 comments Download
A chromecast/media/base/converters.h View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A chromecast/media/base/converters.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M chromecast/media/media.gyp View 1 2 3 4 5 6 7 8 9 5 chunks +24 lines, -1 line 0 comments Download
M chromecast/public/cast_media_shlib.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
A chromecast/public/media/cast_audio_output_device.h View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -0 lines 0 comments Download
A chromecast/public/media/cast_audio_output_stream.h View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 1 comment Download
A chromecast/public/task_runner.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (6 generated)
slan
Initial commit for breaking static dependencies for audio playout. Please review the two public interfaces ...
5 years, 8 months ago (2015-04-24 01:40:27 UTC) #2
lcwu1
5 years, 8 months ago (2015-04-24 01:44:27 UTC) #4
lcwu1
https://codereview.chromium.org/1105803002/diff/1/chromecast/media/audio/cast_audio_manager.cc File chromecast/media/audio/cast_audio_manager.cc (right): https://codereview.chromium.org/1105803002/diff/1/chromecast/media/audio/cast_audio_manager.cc#newcode43 chromecast/media/audio/cast_audio_manager.cc:43: CastAudioManager::CastAudioManager( Leave a vertical space above this line. https://codereview.chromium.org/1105803002/diff/1/chromecast/media/audio/cast_audio_manager.h ...
5 years, 8 months ago (2015-04-24 02:18:25 UTC) #5
slan
Thanks for the comments, lcwu. I cleaned up some formatting and moved everything into the ...
5 years, 8 months ago (2015-04-24 05:34:26 UTC) #6
halliwell
https://codereview.chromium.org/1105803002/diff/20001/chromecast/media/audio/cast_audio_manager_factory_test.cc File chromecast/media/audio/cast_audio_manager_factory_test.cc (right): https://codereview.chromium.org/1105803002/diff/20001/chromecast/media/audio/cast_audio_manager_factory_test.cc#newcode5 chromecast/media/audio/cast_audio_manager_factory_test.cc:5: #include <string> insert blank line https://codereview.chromium.org/1105803002/diff/20001/chromecast/media/audio/cast_audio_manager_unittest.cc File chromecast/media/audio/cast_audio_manager_unittest.cc (right): ...
5 years, 8 months ago (2015-04-24 15:04:48 UTC) #7
slan
Thanks for the comments, halliwell@. All nits were addressed. Please see my questions in comments: ...
5 years, 8 months ago (2015-04-24 16:19:39 UTC) #8
halliwell
https://codereview.chromium.org/1105803002/diff/20001/chromecast/public/cast_audio_output_device.h File chromecast/public/cast_audio_output_device.h (right): https://codereview.chromium.org/1105803002/diff/20001/chromecast/public/cast_audio_output_device.h#newcode37 chromecast/public/cast_audio_output_device.h:37: // does not take ownership of the returned stream. ...
5 years, 8 months ago (2015-04-25 01:34:10 UTC) #9
erickung1
(just take a look the CL very quickly, will look into details later on) 1. ...
5 years, 8 months ago (2015-04-25 08:38:31 UTC) #10
gunsch
A few comments included, mostly style conventions/nits. Others already on the CL know the interface ...
5 years, 8 months ago (2015-04-27 16:09:11 UTC) #11
byungchul
https://codereview.chromium.org/1105803002/diff/40001/chromecast/media/audio/cast_audio_manager.cc File chromecast/media/audio/cast_audio_manager.cc (right): https://codereview.chromium.org/1105803002/diff/40001/chromecast/media/audio/cast_audio_manager.cc#newcode41 chromecast/media/audio/cast_audio_manager.cc:41: } a blank line below here please. https://codereview.chromium.org/1105803002/diff/40001/chromecast/media/audio/cast_audio_manager.cc#newcode71 chromecast/media/audio/cast_audio_manager.cc:71: ...
5 years, 8 months ago (2015-04-27 17:38:06 UTC) #12
cleichner
On 2015/04/25 08:38:31, erickung1 wrote: > (just take a look the CL very quickly, will ...
5 years, 7 months ago (2015-04-27 22:15:34 UTC) #13
gunsch-google
On 2015/04/27 22:15:34, cleichner wrote: > On 2015/04/25 08:38:31, erickung1 wrote: > > (just take ...
5 years, 7 months ago (2015-04-27 23:25:56 UTC) #14
slan
This discussion does in fact impact this CL. If we decide to pipe web audio ...
5 years, 7 months ago (2015-04-28 00:09:31 UTC) #15
slan
This patch addresses all of the issues raised in the last few reviews. Please take ...
5 years, 7 months ago (2015-04-28 00:11:39 UTC) #16
alokp
> > I agree with you that the having two paths into the Chromecast media ...
5 years, 5 months ago (2015-07-23 22:56:28 UTC) #18
gunsch-google
On 2015/07/23 22:56:28, Alok Priyadarshi wrote: > > > I agree with you that the ...
5 years, 5 months ago (2015-07-24 04:02:12 UTC) #19
alokp
On 2015/07/24 04:02:12, gunsch-google wrote: > On 2015/07/23 22:56:28, Alok Priyadarshi wrote: > > > ...
5 years, 5 months ago (2015-07-24 06:12:52 UTC) #20
slan
Hey all, This CL is being unearthed for the upcoming release. Please take a close ...
5 years, 4 months ago (2015-07-29 08:23:38 UTC) #21
halliwell
https://codereview.chromium.org/1105803002/diff/100001/chromecast/media/audio/cast_audio_manager.cc File chromecast/media/audio/cast_audio_manager.cc (right): https://codereview.chromium.org/1105803002/diff/100001/chromecast/media/audio/cast_audio_manager.cc#newcode112 chromecast/media/audio/cast_audio_manager.cc:112: chromecast_params, new chromecast::TaskRunnerImpl()); nit: chromecast:: unnecessary. https://codereview.chromium.org/1105803002/diff/100001/chromecast/public/cast_audio_output_device.h File chromecast/public/cast_audio_output_device.h ...
5 years, 4 months ago (2015-07-29 15:06:57 UTC) #22
gunsch
Overall the structure looks good (and I see there's overlap with Luke's CL), handful of ...
5 years, 4 months ago (2015-07-29 17:22:37 UTC) #23
slan
Thanks for the comments so far. https://codereview.chromium.org/1105803002/diff/100001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1105803002/diff/100001/chromecast/base/task_runner_impl.cc#newcode1 chromecast/base/task_runner_impl.cc:1: // Copyright (c) ...
5 years, 4 months ago (2015-07-29 19:51:55 UTC) #24
gunsch-google
lgtm
5 years, 4 months ago (2015-07-29 20:10:14 UTC) #26
byungchul
https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/media/cast_audio_output_stream.h File chromecast/public/media/cast_audio_output_stream.h (right): https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/media/cast_audio_output_stream.h#newcode34 chromecast/public/media/cast_audio_output_stream.h:34: virtual ~AudioSourceCallback() {} It should be protected since CastAudioOutputStream ...
5 years, 4 months ago (2015-07-29 20:18:49 UTC) #27
halliwell
lgtm % nits https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/cast_media_shlib.h File chromecast/public/cast_media_shlib.h (right): https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/cast_media_shlib.h#newcode46 chromecast/public/cast_media_shlib.h:46: // may be destroyed in Finalize(). ...
5 years, 4 months ago (2015-07-29 22:10:14 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1105803002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1105803002/170001
5 years, 4 months ago (2015-07-30 21:00:40 UTC) #30
slan
Since halliwell@ and I share code, I will block on his CL: https://codereview.chromium.org/1257013003/ Performing dry-run. ...
5 years, 4 months ago (2015-07-30 21:00:42 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/83557)
5 years, 4 months ago (2015-07-30 21:12:14 UTC) #33
halliwell
https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/cast_media_shlib.h File chromecast/public/cast_media_shlib.h (right): https://codereview.chromium.org/1105803002/diff/140001/chromecast/public/cast_media_shlib.h#newcode46 chromecast/public/cast_media_shlib.h:46: // may be destroyed in Finalize(). On 2015/07/29 22:10:14, ...
5 years, 4 months ago (2015-07-30 21:55:49 UTC) #34
byungchul
https://codereview.chromium.org/1105803002/diff/170001/chromecast/public/media/cast_audio_output_stream.h File chromecast/public/media/cast_audio_output_stream.h (right): https://codereview.chromium.org/1105803002/diff/170001/chromecast/public/media/cast_audio_output_stream.h#newcode34 chromecast/public/media/cast_audio_output_stream.h:34: virtual ~AudioSourceCallback() {} protected should go after public ones.
5 years, 4 months ago (2015-07-30 22:12:16 UTC) #35
slan
5 years, 3 months ago (2015-09-23 03:35:04 UTC) #36
Message was sent while issue was closed.
This patch was made obsolete by the recently-landed:
https://codereview.chromium.org/1308153005/

Closing it and enshrining it in the Hall of Fame for "Most Comments on Unlanded
Patch".

Powered by Google App Engine
This is Rietveld 408576698