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

Issue 8491044: Link things together and enable the device selection for linux and mac. (Closed)

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

Description

Enable the device selection for linux and mac by passing a device unique id from renderer down to the browser. With this patch, users should be able to create a audio stream with a non-default device, and feature is only available for low-latency audio. TEST=media_unittests, webrtc test app BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111153

Patch Set 1 : enable the device selection for linux and mac #

Total comments: 8

Patch Set 2 : fixing unittests #

Total comments: 35

Patch Set 3 : update #

Total comments: 20

Patch Set 4 : update and rebase #

Patch Set 5 : tiny fix for the unittests on mac #

Total comments: 2

Patch Set 6 : update and ready to commit #

Patch Set 7 : rebase #

Patch Set 8 : rebase2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -148 lines) Patch
M content/browser/renderer_host/media/audio_input_device_manager.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_device_manager.cc View 1 2 7 chunks +17 lines, -14 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_device_manager_event_handler.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_input_device_manager_unittest.cc View 5 chunks +8 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.h View 1 2 3 4 5 3 chunks +8 lines, -7 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 4 chunks +11 lines, -8 lines 0 comments Download
M content/common/media/audio_messages.h View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/media/audio_input_device.h View 1 2 3 4 5 2 chunks +8 lines, -7 lines 0 comments Download
M content/renderer/media/audio_input_device.cc View 1 2 3 4 5 3 chunks +11 lines, -8 lines 0 comments Download
M content/renderer/media/audio_input_message_filter.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/audio_input_message_filter.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M media/audio/audio_input_controller.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 4 chunks +10 lines, -4 lines 0 comments Download
M media/audio/audio_input_device_unittest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M media/audio/audio_input_unittest.cc View 1 2 3 chunks +13 lines, -10 lines 0 comments Download
M media/audio/audio_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_manager_base.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/linux/alsa_output_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/linux/audio_manager_linux.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/linux/audio_manager_linux.cc View 1 2 3 4 5 6 7 5 chunks +12 lines, -8 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/audio/mac/audio_low_latency_input_mac.cc View 1 4 chunks +8 lines, -26 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac_unittest.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M media/audio/mac/audio_manager_mac.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/audio/mac/audio_manager_mac.cc View 1 2 3 4 5 chunks +61 lines, -4 lines 0 comments Download
M media/audio/win/audio_low_latency_input_win_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M media/audio/win/audio_manager_win.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 3 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
no longer working on chromium
This patch link thins together and allow us to open a non-default capture device for ...
9 years, 1 month ago (2011-11-15 10:04:40 UTC) #1
tommi (sloooow) - chröme
http://codereview.chromium.org/8491044/diff/11009/content/browser/renderer_host/media/audio_input_device_manager.h File content/browser/renderer_host/media/audio_input_device_manager.h (right): http://codereview.chromium.org/8491044/diff/11009/content/browser/renderer_host/media/audio_input_device_manager.h#newcode35 content/browser/renderer_host/media/audio_input_device_manager.h:35: static const char kInvalidDeviceUId[]; kInvalidDeviceUniqueID or perhaps just kInvalidDeviceID ...
9 years, 1 month ago (2011-11-15 10:29:07 UTC) #2
scherkus (not reviewing)
nice! few nits also where is the webrtc test app? sounds like something that should ...
9 years, 1 month ago (2011-11-16 01:20:40 UTC) #3
henrika (OOO until Aug 14)
Done first round of comments. Did down to media/audio/audio_input_controller.cc. Will take the rest tonight. Need ...
9 years, 1 month ago (2011-11-16 13:24:02 UTC) #4
no longer working on chromium
Update a new version since the comments have been pending up. Please take a second ...
9 years, 1 month ago (2011-11-16 17:45:47 UTC) #5
no longer working on chromium
http://codereview.chromium.org/8491044/diff/11009/content/browser/renderer_host/media/audio_input_device_manager.h File content/browser/renderer_host/media/audio_input_device_manager.h (right): http://codereview.chromium.org/8491044/diff/11009/content/browser/renderer_host/media/audio_input_device_manager.h#newcode35 content/browser/renderer_host/media/audio_input_device_manager.h:35: static const char kInvalidDeviceUId[]; On 2011/11/15 10:29:07, tommi wrote: ...
9 years, 1 month ago (2011-11-16 17:47:21 UTC) #6
scherkus (not reviewing)
owners LGTM on relevant folders -- will defer to henrik/tommi/etc for remainder of review
9 years, 1 month ago (2011-11-17 01:48:18 UTC) #7
tommi (sloooow) - chröme
http://codereview.chromium.org/8491044/diff/31001/content/renderer/media/audio_input_device.cc File content/renderer/media/audio_input_device.cc (right): http://codereview.chromium.org/8491044/diff/31001/content/renderer/media/audio_input_device.cc#newcode131 content/renderer/media/audio_input_device.cc:131: std::string device_id = AudioManagerBase::kDefaultDeviceId; Are kDefaultDeviceId and kInvalidDeviceId equal? ...
9 years, 1 month ago (2011-11-17 10:24:16 UTC) #8
henrika (OOO until Aug 14)
LGTM w/ nits and the following assumptions: 1) Verify WebRTC unit test for all platforms. ...
9 years, 1 month ago (2011-11-17 11:26:14 UTC) #9
no longer working on chromium
Update the code based on the comments from Tommi and Henrik. I will re-test the ...
9 years, 1 month ago (2011-11-17 14:15:26 UTC) #10
tommi (sloooow) - chröme
lgtm
9 years, 1 month ago (2011-11-17 14:29:57 UTC) #11
jam
lgtm http://codereview.chromium.org/8491044/diff/41001/content/renderer/media/audio_input_device.cc File content/renderer/media/audio_input_device.cc (right): http://codereview.chromium.org/8491044/diff/41001/content/renderer/media/audio_input_device.cc#newcode16 content/renderer/media/audio_input_device.cc:16: nit: extra line
9 years, 1 month ago (2011-11-21 16:39:23 UTC) #12
no longer working on chromium
Thank you for all. It is going to be landed. BR, -SX http://codereview.chromium.org/8491044/diff/41001/content/renderer/media/audio_input_device.cc File content/renderer/media/audio_input_device.cc ...
9 years, 1 month ago (2011-11-21 16:47:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8491044/47001
9 years, 1 month ago (2011-11-21 20:08:05 UTC) #14
commit-bot: I haz the power
Can't process patch for file media/audio/audio_manager.h. File's status is None, patchset upload is incomplete.
9 years, 1 month ago (2011-11-21 20:08:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/8491044/53035
9 years, 1 month ago (2011-11-22 12:48:35 UTC) #16
commit-bot: I haz the power
Change committed as 111153
9 years, 1 month ago (2011-11-22 14:28:24 UTC) #17
clandestino73
lgtm
9 years, 1 month ago (2011-11-22 14:42:04 UTC) #18
clandestino73
6 years, 7 months ago (2014-05-15 18:17:21 UTC) #19
On Tue, 22 Nov 2011 06:42:04 -0800, <clandestino73@gmail.com> wrote:

> lgtm
>
>
>
> http://codereview.chromium.org/8491044/


-- 
Using Opera's mail client: http://www.opera.com/mail/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698