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

Issue 583833008: Set keyboard mic effect if available. (Closed)

Created:
6 years, 3 months ago by Henrik Grunell
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Set keyboard mic effect if available. * Check if keyboard mic is available in MediaStreamManager and inform AudioManager if so. * AudioManager sets the effect in AudioParameters returned from GetInputStreamParameters if available. BUG=345296 Committed: https://crrev.com/2f7682929e1bee07cf754a3a849e1cf905d25f0a Cr-Commit-Position: refs/heads/master@{#296368}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add effect to parameters. #

Total comments: 4

Patch Set 3 : Code review. #

Patch Set 4 : Compile fix. #

Patch Set 5 : Rebase. #

Patch Set 6 : Init Cras for testing in MSDH unit test. #

Patch Set 7 : Updates to more tests. #

Patch Set 8 : Rebase. #

Patch Set 9 : This should be the correct setup and teardown order for tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -2 lines) Patch
M content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.h View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 4 chunks +41 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host_unittest.cc View 1 2 3 4 5 6 3 chunks +13 lines, -0 lines 0 comments Download
M content/test/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/test/ppapi/ppapi_test.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/ppapi/ppapi_test.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download
M content/test/webrtc_content_browsertest_base.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/test/webrtc_content_browsertest_base.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 0 comments Download
M media/audio/audio_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/cras/audio_manager_cras.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M media/audio/mock_audio_manager.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/mock_audio_manager.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Henrik Grunell
https://codereview.chromium.org/583833008/diff/1/content/browser/renderer_host/media/media_stream_manager.cc File content/browser/renderer_host/media/media_stream_manager.cc (right): https://codereview.chromium.org/583833008/diff/1/content/browser/renderer_host/media/media_stream_manager.cc#newcode2100 content/browser/renderer_host/media/media_stream_manager.cc:2100: audio_manager_->SetHasKeyboardMic(); Hmm, I guess the audio manager should be ...
6 years, 3 months ago (2014-09-20 15:46:44 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/583833008/diff/1/content/browser/renderer_host/media/media_stream_manager.cc File content/browser/renderer_host/media/media_stream_manager.cc (right): https://codereview.chromium.org/583833008/diff/1/content/browser/renderer_host/media/media_stream_manager.cc#newcode2100 content/browser/renderer_host/media/media_stream_manager.cc:2100: audio_manager_->SetHasKeyboardMic(); On 2014/09/20 15:46:43, Henrik Grunell wrote: > Hmm, ...
6 years, 3 months ago (2014-09-20 16:00:53 UTC) #3
Henrik Grunell
Also changes in MSM due to the thread check. https://codereview.chromium.org/583833008/diff/20001/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/583833008/diff/20001/media/audio/cras/audio_manager_cras.cc#newcode80 media/audio/cras/audio_manager_cras.cc:80: ...
6 years, 3 months ago (2014-09-22 11:11:24 UTC) #4
tommi (sloooow) - chröme
lgtm % fixing the build error
6 years, 3 months ago (2014-09-22 20:30:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583833008/80001
6 years, 3 months ago (2014-09-23 07:42:16 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/16892)
6 years, 3 months ago (2014-09-23 08:56:44 UTC) #9
Henrik Grunell
I had to update tests to initialize Cras for testing since MediaStreamManager accesses it now. ...
6 years, 3 months ago (2014-09-23 14:46:12 UTC) #11
tommi (sloooow) - chröme
lgtm
6 years, 3 months ago (2014-09-23 17:23:57 UTC) #12
jennyz
lgtm for content/test/DEPS.
6 years, 3 months ago (2014-09-23 20:56:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583833008/160001
6 years, 3 months ago (2014-09-24 07:46:38 UTC) #15
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 1292a473677b45e4c38178a29fc8c0058c86d28e
6 years, 3 months ago (2014-09-24 08:36:12 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 08:36:46 UTC) #17
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2f7682929e1bee07cf754a3a849e1cf905d25f0a
Cr-Commit-Position: refs/heads/master@{#296368}

Powered by Google App Engine
This is Rietveld 408576698