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

Issue 141513006: Wire up AGC to the MediaStreamAudioProcessor (Closed)

Created:
6 years, 11 months ago by no longer working on chromium
Modified:
6 years, 11 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Wire up AGC to the MediaStreamAudioProcessor. This CL enables the AGC in the processor based on the constraints, and also trigger SetVolume() in the capturer if the AGC tries to adjust the volume. There are also some small changes in the MediaStreamAudioProcessor and its unittest. BUG=264611 TEST= content_unittest --gtest_filter="*MediaStreamAudioProcessor*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246894

Patch Set 1 #

Patch Set 2 : uploaded again #

Total comments: 38

Patch Set 3 : addressed the comments. #

Total comments: 10

Patch Set 4 : addressed Andrew's comments #

Patch Set 5 : fixed the unittest on android. #

Total comments: 2

Patch Set 6 : Addressed Tommi's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -40 lines) Patch
M content/renderer/media/media_stream_audio_processor.h View 1 2 5 chunks +15 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor.cc View 1 2 3 4 5 10 chunks +45 lines, -20 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.cc View 1 2 3 4 chunks +17 lines, -12 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_unittest.cc View 1 2 3 4 3 chunks +39 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
no longer working on chromium
Guys, could you please review this CL? Thanks. SX https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc#newcode257 content/renderer/media/media_stream_audio_processor.cc:257: ...
6 years, 11 months ago (2014-01-21 09:05:46 UTC) #1
tommi (sloooow) - chröme
https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.h File content/renderer/media/media_stream_audio_processor.h (right): https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.h#newcode67 content/renderer/media/media_stream_audio_processor.h:67: // will be 0 if the microphone volume is ...
6 years, 11 months ago (2014-01-21 15:06:19 UTC) #2
no longer working on chromium
Ping. Andrew, could you please take a look? Thanks, SX
6 years, 11 months ago (2014-01-22 16:44:27 UTC) #3
ajm
https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc#newcode26 content/renderer/media/media_stream_audio_processor.cc:26: #if defined(ANDROID) What about iOS? I think it is ...
6 years, 11 months ago (2014-01-22 21:50:55 UTC) #4
no longer working on chromium
All the comments are addressed. PTAL. Andrew, could you please take a look at comment ...
6 years, 11 months ago (2014-01-23 12:46:07 UTC) #5
ajm
lgtm with minor changes https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/141513006/diff/80001/content/renderer/media/media_stream_audio_processor.cc#newcode26 content/renderer/media/media_stream_audio_processor.cc:26: #if defined(ANDROID) On 2014/01/23 12:46:08, ...
6 years, 11 months ago (2014-01-23 17:30:06 UTC) #6
ajm
Still lgtm with these changes. https://codereview.chromium.org/141513006/diff/170001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/141513006/diff/170001/content/renderer/media/media_stream_audio_processor.cc#newcode252 content/renderer/media/media_stream_audio_processor.cc:252: const bool enable_agc = ...
6 years, 11 months ago (2014-01-24 06:48:58 UTC) #7
no longer working on chromium
Thanks Andrew. Tommi, would you like take another look? Or you have deferred it to ...
6 years, 11 months ago (2014-01-24 09:10:49 UTC) #8
no longer working on chromium
Hi Tommi, I know you are very busy so I am going to land this ...
6 years, 11 months ago (2014-01-24 12:29:49 UTC) #9
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 11 months ago (2014-01-24 12:29:56 UTC) #10
tommi (sloooow) - chröme
lgtm. It would be good to fix the below thing (it's a tiny change), but ...
6 years, 11 months ago (2014-01-24 12:41:21 UTC) #11
no longer working on chromium
https://codereview.chromium.org/141513006/diff/570001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/141513006/diff/570001/content/renderer/media/media_stream_audio_processor.cc#newcode199 content/renderer/media/media_stream_audio_processor.cc:199: *new_volume = 0; On 2014/01/24 12:41:22, tommi wrote: > ...
6 years, 11 months ago (2014-01-24 12:46:52 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/141513006/630001
6 years, 11 months ago (2014-01-24 12:47:20 UTC) #13
commit-bot: I haz the power
6 years, 11 months ago (2014-01-24 15:23:01 UTC) #14
Message was sent while issue was closed.
Change committed as 246894

Powered by Google App Engine
This is Rietveld 408576698