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

Issue 11878032: Plumb |input_channels| all the way to AudioManager (Closed)

Created:
7 years, 11 months ago by Chris Rogers
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, sail+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Plumb |input_channels| all the way to AudioManager to support synchronized audio I/O without requiring use of the "Web Audio Input" enable flag. The approach taken is to include |input_channels| as part of the AudioParameters class so that we can represent synchronized I/O streams directly without needing to separately pass |input_channels| through-out the callstack. Please note that we're still not yet removing the "Web Audio Input" flag until we more properly verify the input device selection from getUserMedia(). BUG=none TEST=manual test: http://chromium.googlecode.com/svn/trunk/samples/audio/visualizer-live.html Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181126

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -122 lines) Patch
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M content/common/media/audio_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M content/common/media/media_param_traits.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/media/audio_message_filter.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/audio_message_filter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/media/renderer_webaudiodevice_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/media/renderer_webaudiodevice_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -21 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_renderer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_audio_output_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M media/audio/audio_device_thread.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -2 lines 0 comments Download
M media/audio/audio_device_thread.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M media/audio/audio_input_device.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M media/audio/audio_output_device.h View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -9 lines 0 comments Download
M media/audio/audio_output_device.cc View 1 2 3 4 5 6 7 8 9 10 chunks +11 lines, -22 lines 0 comments Download
M media/audio/audio_output_device_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -16 lines 0 comments Download
M media/audio/audio_output_ipc.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M media/audio/audio_parameters.h View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -0 lines 0 comments Download
M media/audio/audio_parameters.cc View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -2 lines 0 comments Download
M media/audio/mac/audio_manager_mac.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -4 lines 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M media/base/audio_renderer_sink.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Chris Rogers
I haven't yet finished the yak shaving (all platforms, unit tests...), but wanted to give ...
7 years, 11 months ago (2013-01-15 02:19:46 UTC) #1
Chris Rogers
Finished yak shaving - PTAL
7 years, 11 months ago (2013-01-16 02:15:57 UTC) #2
henrika (OOO until Aug 14)
Sorry, have some basic questions first. From the client: RendererWebAudioDeviceImpl::RendererWebAudioDeviceImpl( const media::AudioParameters& params, int input_channels, ...
7 years, 11 months ago (2013-01-16 11:17:16 UTC) #3
Chris Rogers
On 2013/01/16 11:17:16, henrika wrote: > Sorry, have some basic questions first. > > From ...
7 years, 11 months ago (2013-01-16 18:33:57 UTC) #4
DaleCurtis
Hmm, if you made input channels a settable AudioParameters field, this change would just be ...
7 years, 11 months ago (2013-01-16 21:41:51 UTC) #5
Chris Rogers
On 2013/01/16 21:41:51, DaleCurtis wrote: > Hmm, if you made input channels a settable AudioParameters ...
7 years, 11 months ago (2013-01-16 22:46:27 UTC) #6
DaleCurtis
Yes, or making it an optional constructor argument.
7 years, 11 months ago (2013-01-17 01:22:03 UTC) #7
Chris Rogers
Dale, I've re-worked this as you suggest by including the |input_channels| as part of the ...
7 years, 10 months ago (2013-02-05 22:24:59 UTC) #8
DaleCurtis
lgtm
7 years, 10 months ago (2013-02-05 22:55:05 UTC) #9
Chris Rogers
jam: for content approval
7 years, 10 months ago (2013-02-05 23:12:30 UTC) #10
jam
7 years, 10 months ago (2013-02-06 07:21:56 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698