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

Issue 187913002: Support the Aec dump for the APM in chrome (Closed)

Created:
6 years, 9 months ago by no longer working on chromium
Modified:
6 years, 9 months ago
Reviewers:
Henrik Grunell
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
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support the Aec dump for the APM in chrome. The code will run behind the kEnableAudioTrackProcessor flag and the behaviour will be compatible with the existing behaviours. Since AEC dump can be started only once, so we can't re-create a new instance of MediaStreamAudioProcessor when the format changes. This CL will create the MediaStreamAudioProcessor in the constructor of WebRtcAudioCapturer and call OnCaptureFormatChanged() to the MediaStreamAudioProcessor when the format changes. BUG=264611 TEST=manual enable aec dump in chrome://webrtc-internals and verify the aec dump audio files. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255769

Patch Set 1 : #

Total comments: 23

Patch Set 2 : only allow calling StartAecDump() on one APM. #

Total comments: 17

Patch Set 3 : rebased and addressed the comments. #

Patch Set 4 : minor fix to one comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -73 lines) Patch
M content/renderer/media/media_stream_audio_processor.h View 1 2 4 chunks +15 lines, -3 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor.cc View 1 2 6 chunks +32 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_options.cc View 1 2 1 chunk +11 lines, -19 lines 0 comments Download
M content/renderer/media/media_stream_audio_processor_unittest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 1 chunk +24 lines, -8 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/media/webrtc_audio_capturer.cc View 1 2 10 chunks +39 lines, -28 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.h View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 2 3 5 chunks +59 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
no longer working on chromium
Henrik, please review. Thanks, SX
6 years, 9 months ago (2014-03-05 17:46:58 UTC) #1
no longer working on chromium
ping, Henrik, please take a look? If you think it is insufficient to have only ...
6 years, 9 months ago (2014-03-06 08:36:35 UTC) #2
Henrik Grunell
https://codereview.chromium.org/187913002/diff/20001/content/renderer/media/media_stream_audio_processor.h File content/renderer/media/media_stream_audio_processor.h (right): https://codereview.chromium.org/187913002/diff/20001/content/renderer/media/media_stream_audio_processor.h#newcode87 content/renderer/media/media_stream_audio_processor.h:87: // Called on the main render thread. Comment that ...
6 years, 9 months ago (2014-03-06 10:12:20 UTC) #3
no longer working on chromium
Henrik, PTAL. Thanks, SX https://codereview.chromium.org/187913002/diff/20001/content/renderer/media/media_stream_audio_processor.h File content/renderer/media/media_stream_audio_processor.h (right): https://codereview.chromium.org/187913002/diff/20001/content/renderer/media/media_stream_audio_processor.h#newcode87 content/renderer/media/media_stream_audio_processor.h:87: // Called on the main ...
6 years, 9 months ago (2014-03-06 18:57:21 UTC) #4
Henrik Grunell
There's a lot of changes in the patch set 2. I can't easily see how ...
6 years, 9 months ago (2014-03-06 19:55:12 UTC) #5
Henrik Grunell
The particular comments in my last comment was some examples; please explain the changes on ...
6 years, 9 months ago (2014-03-06 19:56:54 UTC) #6
no longer working on chromium
Done with adding some description to the CL. https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.h File content/renderer/media/media_stream_audio_processor.h (right): https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.h#newcode55 content/renderer/media/media_stream_audio_processor.h:55: void ...
6 years, 9 months ago (2014-03-06 20:00:36 UTC) #7
Henrik Grunell
https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.cc#newcode166 content/renderer/media/media_stream_audio_processor.cc:166: InitializeCaptureConverter(source_params); Is InitializeCaptureConverter() OK to call multiple times? https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.cc#newcode470 ...
6 years, 9 months ago (2014-03-07 09:14:57 UTC) #8
no longer working on chromium
Henrik, PTAL. SX https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/187913002/diff/60001/content/renderer/media/media_stream_audio_processor.cc#newcode166 content/renderer/media/media_stream_audio_processor.cc:166: InitializeCaptureConverter(source_params); On 2014/03/07 09:14:57, Henrik Grunell ...
6 years, 9 months ago (2014-03-07 10:14:54 UTC) #9
Henrik Grunell
LGTM. Make sure you test with the command line flag. Did you run the automatic ...
6 years, 9 months ago (2014-03-07 10:51:10 UTC) #10
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-07 18:08:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/187913002/100001
6 years, 9 months ago (2014-03-07 18:08:57 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 18:11:56 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 18:11:57 UTC) #14
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 9 months ago (2014-03-07 19:00:17 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/187913002/100001
6 years, 9 months ago (2014-03-07 19:01:33 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/187913002/100001
6 years, 9 months ago (2014-03-07 20:25:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/187913002/100001
6 years, 9 months ago (2014-03-08 10:51:06 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-03-08 13:09:43 UTC) #19
Message was sent while issue was closed.
Change committed as 255769

Powered by Google App Engine
This is Rietveld 408576698