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

Issue 23475037: Implement GetAudioOutputDevices for remaining platforms, consolidate tests. (Closed)

Created:
7 years, 3 months ago by Jói
Modified:
7 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Implement GetAudioOutputDevices for remaining platforms, consolidate tests. For Android and Cras, returning just the default device matches current behavior for input devices, although this may need to be improved in the future. For OpenBSD, the current code seems to rely on the device names list being empty, so just removing the NOTREACHED() in AudioManagerBase's empty implementation does the trick there. Note that audio_input_device_unittest.cc really should be named audio_manager_unittest.cc since AudioManager is the interface it tests. I will do this rename in a separate follow-up change to better preserve change history. TBR=vrk@chromium.org BUG=276894 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223342

Patch Set 1 #

Patch Set 2 : Fix Android build. #

Patch Set 3 : OpenBSD and remove TODOs. #

Patch Set 4 : Fix some Win/Mac tests. #

Patch Set 5 : Merge LKGR, remove anonymous namespaces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -210 lines) Patch
M media/audio/android/audio_manager_android.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M media/audio/android/audio_manager_android.cc View 1 2 3 4 3 chunks +15 lines, -5 lines 0 comments Download
M media/audio/audio_input_device_unittest.cc View 1 2 3 11 chunks +156 lines, -10 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D media/audio/audio_manager_unittest.cc View 1 chunk +0 lines, -145 lines 0 comments Download
M media/audio/cras/audio_manager_cras.h View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 1 2 3 4 3 chunks +16 lines, -12 lines 0 comments Download
M media/audio/linux/audio_manager_linux.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M media/audio/linux/audio_manager_linux.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/mac/audio_manager_mac.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/pulse/audio_manager_pulse.h View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M media/audio/win/audio_manager_win.h View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download
M media/audio/win/device_enumeration_win.cc View 1 2 3 4 3 chunks +3 lines, -7 lines 0 comments Download
M media/media.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Jói
Note that this subsumes https://codereview.chromium.org/23475026/ and https://codereview.chromium.org/23723009/ (the Android and Cras implementations) which were already ...
7 years, 3 months ago (2013-09-12 11:01:49 UTC) #1
tommi (sloooow) - chröme
lgtm
7 years, 3 months ago (2013-09-12 20:46:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/23475037/10001
7 years, 3 months ago (2013-09-12 21:17:51 UTC) #3
commit-bot: I haz the power
Failed to apply patch for media/audio/android/audio_manager_android.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-12 21:17:55 UTC) #4
Jói
I've merged to LKGR and used static instead of the anonymous namespaces in a couple ...
7 years, 3 months ago (2013-09-16 11:49:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/23475037/15001
7 years, 3 months ago (2013-09-16 11:49:58 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25616
7 years, 3 months ago (2013-09-16 12:01:30 UTC) #7
Jói
TBR=vrk@chromium.org for removal of a deleted source file from media.gyp
7 years, 3 months ago (2013-09-16 12:06:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/23475037/15001
7 years, 3 months ago (2013-09-16 12:06:44 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 15:17:44 UTC) #10
Message was sent while issue was closed.
Change committed as 223342

Powered by Google App Engine
This is Rietveld 408576698