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

Issue 2313663002: Reland of Add groupid for media devices. Group audio devices. (Closed)

Created:
4 years, 3 months ago by Max Morin
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Add groupid for media devices. Group audio devices. (patchset #1 id:1 of https://codereview.chromium.org/2296393004/ ) Reason for revert: I'm fixing the threading issue now. Original issue's description: > Revert of Add groupid for media devices. Group audio devices. (patchset #5 id:80001 of https://codereview.chromium.org/2273653002/ ) > > Reason for revert: > Breaks webrtc FYI bots on mac https://build.chromium.org/p/chromium.webrtc/builders/Mac%20Tester/builds/59143. I'll have to figure out what's up with that ¯\_(ツ)_/¯ > > Original issue's description: > > Add groupid for media devices. Group audio devices. > > > > At present, the renderer tries to use matched_output_device > > to assign groupids to audio devices. matched_output_device isn't set > > before devices are sent to the renderer, and we wouldn't be able to > > handle all the cases with it anyways. > > > > BUG=636300, 627793 > > > > Committed: https://crrev.com/f07d1047986130ef0277a87b5b0b6175c4362c98 > > Cr-Commit-Position: refs/heads/master@{#416140} > > TBR=guidou@chromium.org,tommi@chromium.org,nasko@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=636300, 627793 > > Committed: https://crrev.com/0c747762e50c0452f7809fa48249a1a776ff43d2 > Cr-Commit-Position: refs/heads/master@{#416217} TBR=guidou@chromium.org,tommi@chromium.org,nasko@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=636300, 627793 Committed: https://crrev.com/a4ec5769ae36fdd14e49207f30e0aa8dcdc2ac34 Cr-Commit-Position: refs/heads/master@{#416663}

Patch Set 1 #

Patch Set 2 : Add groupid for output on the correct thread. #

Patch Set 3 : Improve AudioManager comment. #

Total comments: 7

Patch Set 4 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -23 lines) Patch
M content/browser/renderer_host/media/audio_input_device_manager.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_device_enumerator.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_device_enumerator.cc View 1 2 3 3 chunks +26 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/common/media/media_stream_messages.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/media_stream_request.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_dispatcher.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 3 chunks +5 lines, -18 lines 0 comments Download
M media/audio/audio_manager.h View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M media/audio/audio_manager_base.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 1 3 chunks +64 lines, -1 line 0 comments Download
M media/audio/mock_audio_manager.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Max Morin
Created Reland of Add groupid for media devices. Group audio devices.
4 years, 3 months ago (2016-09-05 10:55:28 UTC) #1
Max Morin
Hello everyone. Please take another look at this CL for the (hopefully) last time. :) ...
4 years, 3 months ago (2016-09-05 11:10:43 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/2313663002/diff/260001/content/browser/renderer_host/media/audio_output_device_enumerator.cc File content/browser/renderer_host/media/audio_output_device_enumerator.cc (right): https://codereview.chromium.org/2313663002/diff/260001/content/browser/renderer_host/media/audio_output_device_enumerator.cc#newcode64 content/browser/renderer_host/media/audio_output_device_enumerator.cc:64: group_id(group_id), can group_id be const? https://codereview.chromium.org/2313663002/diff/260001/content/browser/renderer_host/media/audio_output_device_enumerator.h File content/browser/renderer_host/media/audio_output_device_enumerator.h (right): ...
4 years, 3 months ago (2016-09-05 13:09:23 UTC) #3
Guido Urdaneta
https://codereview.chromium.org/2313663002/diff/260001/media/audio/audio_manager.h File media/audio/audio_manager.h (right): https://codereview.chromium.org/2313663002/diff/260001/media/audio/audio_manager.h#newcode247 media/audio/audio_manager.h:247: // (see GetWorkerTaskRunner()). Actually, the comment should say GetTaskRunner() ...
4 years, 3 months ago (2016-09-05 13:15:53 UTC) #4
Max Morin
PTAL https://codereview.chromium.org/2313663002/diff/260001/content/browser/renderer_host/media/audio_output_device_enumerator.cc File content/browser/renderer_host/media/audio_output_device_enumerator.cc (right): https://codereview.chromium.org/2313663002/diff/260001/content/browser/renderer_host/media/audio_output_device_enumerator.cc#newcode64 content/browser/renderer_host/media/audio_output_device_enumerator.cc:64: group_id(group_id), On 2016/09/05 13:09:23, tommi (chrömium) wrote: > ...
4 years, 3 months ago (2016-09-05 13:53:56 UTC) #5
tommi (sloooow) - chröme
lgtm
4 years, 3 months ago (2016-09-05 14:08:00 UTC) #6
Guido Urdaneta
lgtm
4 years, 3 months ago (2016-09-05 14:08:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2313663002/280001
4 years, 3 months ago (2016-09-06 14:15:20 UTC) #9
Max Morin
On 2016/09/05 14:08:37, Guido Urdaneta wrote: > lgtm nasko: I leave you as TBR since ...
4 years, 3 months ago (2016-09-06 14:16:00 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:280001)
4 years, 3 months ago (2016-09-06 17:57:30 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a4ec5769ae36fdd14e49207f30e0aa8dcdc2ac34 Cr-Commit-Position: refs/heads/master@{#416663}
4 years, 3 months ago (2016-09-06 17:59:41 UTC) #13
Max Morin
4 years, 3 months ago (2016-09-07 07:31:51 UTC) #14
Message was sent while issue was closed.
Thanks for the reviews everyone!

Powered by Google App Engine
This is Rietveld 408576698