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

Issue 1104583002: Adds method to provide custom AudioManager at runtime. (Closed)

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

Description

Adds method to provide custom AudioManager at runtime. Adds a static SetFactory method to media::AudioManager which allows a caller to pass an AudioManagerFactory to the AudioMananger. The static instance of AudioManager will be obtained from this factory. Also adds an implementation for Cast, to be used on third party platforms, with associated tests. BUG=none Committed: https://crrev.com/8e273264c96562ee35f60b03a1ef4e32ef8f7fcf Cr-Commit-Position: refs/heads/master@{#326604}

Patch Set 1 #

Patch Set 2 : Split into multiple CLs. #

Total comments: 12

Patch Set 3 : Minor fixes, update to test factory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -5 lines) Patch
M media/audio/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 3 chunks +19 lines, -3 lines 0 comments Download
M media/audio/audio_manager.cc View 1 2 3 chunks +32 lines, -2 lines 0 comments Download
A media/audio/audio_manager_factory.h View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A media/audio/audio_manager_factory_unittest.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M media/media.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
slan
This CL allows an implementation of AudioManager to be provided at runtime, particularly so third-party ...
5 years, 8 months ago (2015-04-23 06:24:29 UTC) #2
DaleCurtis
https://codereview.chromium.org/1104583002/diff/20001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/1104583002/diff/20001/media/audio/audio_manager.h#newcode33 media/audio/audio_manager.h:33: // Used to override the defualt implementation. After this ...
5 years, 8 months ago (2015-04-23 16:18:26 UTC) #3
slan
Hey Dale, thanks for the timely and thorough review. I made some improvements to the ...
5 years, 8 months ago (2015-04-23 18:11:33 UTC) #4
DaleCurtis
lgtm
5 years, 8 months ago (2015-04-23 18:14:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104583002/40001
5 years, 8 months ago (2015-04-23 18:19:25 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-23 19:26:18 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 19:27:12 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8e273264c96562ee35f60b03a1ef4e32ef8f7fcf
Cr-Commit-Position: refs/heads/master@{#326604}

Powered by Google App Engine
This is Rietveld 408576698