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

Issue 1480523004: Ensure both default audio device IDs are handled for creation. (Closed)

Created:
5 years ago by DaleCurtis
Modified:
5 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure both default audio device IDs are handled for creation. With the introduction of the AudioOutputDeviceEnumerator we started creating AudioOutputControllers with kDefaultDeviceId, but the proxy creation code did not merge these cases correctly -- so streams which should have been default were stuck on a single device. This adds a test for this behavior, though it unfortunately relies on some internal AudioManager details -- we've seen similar bugs like this in the past, so its clear we need something. BUG=557620 TEST=switched headphones works, new unittest. Committed: https://crrev.com/6543b17d2aa62107125c34ec2550fd46181c316e Cr-Commit-Position: refs/heads/master@{#361875}

Patch Set 1 #

Patch Set 2 : Close stream. #

Patch Set 3 : Fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -3 lines) Patch
M media/audio/audio_manager_base.cc View 3 chunks +7 lines, -3 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 1 2 3 chunks +41 lines, -0 lines 0 comments Download
M media/audio/audio_output_proxy.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
DaleCurtis
Please CQ if this looks good to you since I'll be OOO for turkey days. ...
5 years ago (2015-11-25 20:16:43 UTC) #2
Guido Urdaneta
lgtm
5 years ago (2015-11-25 20:44:44 UTC) #3
tommi (sloooow) - chröme
lgtm
5 years ago (2015-11-26 00:07:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480523004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480523004/20001
5 years ago (2015-11-26 00:09:30 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/84952)
5 years ago (2015-11-26 00:42:16 UTC) #8
DaleCurtis
Thanks for review, moved test to run on AudioThread (man, it's high time we had ...
5 years ago (2015-11-26 01:16:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480523004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480523004/40001
5 years ago (2015-11-26 01:17:37 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-26 03:20:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480523004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480523004/40001
5 years ago (2015-11-26 12:57:51 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-26 13:02:58 UTC) #17
commit-bot: I haz the power
5 years ago (2015-11-26 13:04:15 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6543b17d2aa62107125c34ec2550fd46181c316e
Cr-Commit-Position: refs/heads/master@{#361875}

Powered by Google App Engine
This is Rietveld 408576698