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

Issue 2795933002: cros: Using virtual audio device label for internal device (Closed)

Created:
3 years, 8 months ago by Qiang(Joe) Xu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Using virtual audio device label for internal device Changes: Now that cras could remember last active audio node for pinning stream. crbug.com/658048 could be properly handled if we use a virtual device name for internal device to represent the internal device with last active internal node. After discussion with UX writer and reviewer: Decided using "Built-in-mic" for input device, and "Built-in-speaker" for output device. BUG=658048 TEST=Test on Chrome OS 9426.0.0. The bug in crbug.com/658048 is handled, if GetUserMedia selects internal device, the source/destination depends on last active internal node or current system activated internal node. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2795933002 Cr-Commit-Position: refs/heads/master@{#461854} Committed: https://chromium.googlesource.com/chromium/src/+/188483ae0dc7746fd2bc8d8ebdc2a57b33769007

Patch Set 1 #

Total comments: 2

Patch Set 2 : Built-in-mic and Built-in-speaker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M media/audio/cras/audio_manager_cras.cc View 1 2 chunks +32 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Qiang(Joe) Xu
Hi all, PTAL, thanks! Code is extracted from https://codereview.chromium.org/2516813002/, which was already reviewed once.
3 years, 8 months ago (2017-04-04 02:19:19 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc#newcode52 media/audio/cras/audio_manager_cras.cc:52: const char kInternalInputDevice[] = "Built-in microphone"; I'd prefer names ...
3 years, 8 months ago (2017-04-04 10:50:09 UTC) #6
dgreid
logic looks right to me. No comment on the naming:)
3 years, 8 months ago (2017-04-04 16:32:03 UTC) #7
Qiang(Joe) Xu
https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc#newcode52 media/audio/cras/audio_manager_cras.cc:52: const char kInternalInputDevice[] = "Built-in microphone"; On 2017/04/04 10:50:08, ...
3 years, 8 months ago (2017-04-04 18:46:24 UTC) #8
tommi (sloooow) - chröme
On 2017/04/04 18:46:24, Qiang(Joe) Xu wrote: > https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc > File media/audio/cras/audio_manager_cras.cc (right): > > https://codereview.chromium.org/2795933002/diff/1/media/audio/cras/audio_manager_cras.cc#newcode52 ...
3 years, 8 months ago (2017-04-04 20:10:16 UTC) #9
Qiang(Joe) Xu
On 2017/04/04 20:10:16, tommi ooo - chröme wrote: > On 2017/04/04 18:46:24, Qiang(Joe) Xu wrote: ...
3 years, 8 months ago (2017-04-04 20:18:57 UTC) #10
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/2795933002/20001
3 years, 8 months ago (2017-04-04 20:24:27 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 21:52:16 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/188483ae0dc7746fd2bc8d8ebdc2...

Powered by Google App Engine
This is Rietveld 408576698