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

Issue 8677012: Refactor the AudioInputDeviceManager by removing the device thread. (Closed)

Created:
9 years, 1 month ago by no longer working on chromium
Modified:
9 years ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Refactor the AudioInputDeviceManager by removing the device thread. With this patch, all the work will be done in the IO thread instead, this is needed by WASAPI. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111641

Patch Set 1 #

Total comments: 20

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 18

Patch Set 4 : fixed the comments #

Total comments: 6

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -374 lines) Patch
M content/browser/renderer_host/media/audio_input_device_manager.h View 1 2 3 2 chunks +2 lines, -32 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_device_manager.cc View 1 2 3 4 2 chunks +73 lines, -225 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_device_manager_unittest.cc View 1 2 3 14 chunks +183 lines, -117 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
no longer working on chromium
Hi, Please review. This patch refactors the AudioInputDeviceManager, and I also changed its unittests correspondingly. ...
9 years, 1 month ago (2011-11-23 18:14:20 UTC) #1
tommi (sloooow) - chröme
overall looks very good. I've got just one question below. http://codereview.chromium.org/8677012/diff/1/content/browser/renderer_host/media/audio_input_device_manager.cc File content/browser/renderer_host/media/audio_input_device_manager.cc (right): http://codereview.chromium.org/8677012/diff/1/content/browser/renderer_host/media/audio_input_device_manager.cc#newcode67 ...
9 years, 1 month ago (2011-11-23 20:16:31 UTC) #2
no longer working on chromium
http://codereview.chromium.org/8677012/diff/1/content/browser/renderer_host/media/audio_input_device_manager.cc File content/browser/renderer_host/media/audio_input_device_manager.cc (right): http://codereview.chromium.org/8677012/diff/1/content/browser/renderer_host/media/audio_input_device_manager.cc#newcode67 content/browser/renderer_host/media/audio_input_device_manager.cc:67: devices)); On 2011/11/23 20:16:31, tommi wrote: > won't |devices| ...
9 years ago (2011-11-24 14:47:33 UTC) #3
henrika (OOO until Aug 14)
Looks really good. Some comments. Also, please add more descriptions for all tests. http://codereview.chromium.org/8677012/diff/1/content/browser/renderer_host/media/audio_input_device_manager.cc File ...
9 years ago (2011-11-24 15:22:25 UTC) #4
no longer working on chromium
Please take second round. Magnus, it will be great if you can take a quick ...
9 years ago (2011-11-24 16:00:42 UTC) #5
henrika (OOO until Aug 14)
Some minor comments. Almost there. http://codereview.chromium.org/8677012/diff/4005/content/browser/renderer_host/media/audio_input_device_manager.cc File content/browser/renderer_host/media/audio_input_device_manager.cc (right): http://codereview.chromium.org/8677012/diff/4005/content/browser/renderer_host/media/audio_input_device_manager.cc#newcode48 content/browser/renderer_host/media/audio_input_device_manager.cc:48: // Get the device ...
9 years ago (2011-11-25 09:48:25 UTC) #6
tommi (sloooow) - chröme
lgtm with Henrik's comments addressed. http://codereview.chromium.org/8677012/diff/4005/content/browser/renderer_host/media/audio_input_device_manager_unittest.cc File content/browser/renderer_host/media/audio_input_device_manager_unittest.cc (right): http://codereview.chromium.org/8677012/diff/4005/content/browser/renderer_host/media/audio_input_device_manager_unittest.cc#newcode392 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc:392: // Starts an invalid ...
9 years ago (2011-11-25 12:48:42 UTC) #7
no longer working on chromium
Fixed the comments. I am going to commit it since Niklas reports a bug in ...
9 years ago (2011-11-25 14:14:14 UTC) #8
no longer working on chromium
+ Wei Wei, I am refactoring this AudioInputDeviceManager to remove the device thread and do ...
9 years ago (2011-11-25 14:18:19 UTC) #9
wjia(left Chromium)
http://codereview.chromium.org/8677012/diff/14002/content/browser/renderer_host/media/audio_input_device_manager.cc File content/browser/renderer_host/media/audio_input_device_manager.cc (right): http://codereview.chromium.org/8677012/diff/14002/content/browser/renderer_host/media/audio_input_device_manager.cc#newcode49 content/browser/renderer_host/media/audio_input_device_manager.cc:49: AudioManager::GetAudioManager()->GetAudioInputDeviceNames(&device_names); How much time does this operation typically take? ...
9 years ago (2011-11-25 16:37:20 UTC) #10
no longer working on chromium
http://codereview.chromium.org/8677012/diff/14002/content/browser/renderer_host/media/audio_input_device_manager.cc File content/browser/renderer_host/media/audio_input_device_manager.cc (right): http://codereview.chromium.org/8677012/diff/14002/content/browser/renderer_host/media/audio_input_device_manager.cc#newcode49 content/browser/renderer_host/media/audio_input_device_manager.cc:49: AudioManager::GetAudioManager()->GetAudioInputDeviceNames(&device_names); On 2011/11/25 16:37:20, wjia wrote: > How much ...
9 years ago (2011-11-25 16:45:33 UTC) #11
wjia(left Chromium)
lgtm. Please do keep an eye on the time spent on GetAudioInputDeviceNames().
9 years ago (2011-11-25 16:49:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8677012/12008
9 years ago (2011-11-25 16:51:48 UTC) #13
commit-bot: I haz the power
Try job failure for 8677012-12008 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
9 years ago (2011-11-25 18:13:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8677012/12008
9 years ago (2011-11-26 10:31:04 UTC) #15
commit-bot: I haz the power
Try job failure for 8677012-12008 (retry) on win_rel for steps "nacl_integration, interactive_ui_tests". It's a second ...
9 years ago (2011-11-26 12:52:54 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8677012/12008
9 years ago (2011-11-26 13:51:57 UTC) #17
commit-bot: I haz the power
Try job failure for 8677012-12008 (retry) (retry) on win_rel for step "interactive_ui_tests". It's a second ...
9 years ago (2011-11-26 18:09:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8677012/12008
9 years ago (2011-11-26 18:18:39 UTC) #19
commit-bot: I haz the power
9 years ago (2011-11-26 19:58:39 UTC) #20
Change committed as 111641

Powered by Google App Engine
This is Rietveld 408576698