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

Issue 2838133003: Implementation of new AecDump interface. (Closed)

Created:
3 years, 8 months ago by aleloi
Modified:
3 years, 7 months ago
Reviewers:
peah-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implementation of new AecDump interface. [WORK IN PROGRESS, DO NOT SUBMIT] [TODO WRITE DESCRIPTION, elaborate] This CL contains the implementation and tests of the AecDump interface, defined in the parent CL. There will be a further CL that adds a top-level task queue and activates the new AecDump instead of the current functionality. [TODO ADD TESTS without removing existing ones] BUG=webrtc:7404

Patch Set 1 : Rebase. #

Patch Set 2 : Rebase. #

Patch Set 3 : Gn checks failed. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : Complete and tested AecDump implementation. #

Total comments: 2

Patch Set 7 : Changed CaptureStreamInfo behaviour. #

Patch Set 8 : Changed CaptureStreamInfo behaviour. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+799 lines, -29 lines) Patch
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/BUILD.gn View 1 2 3 4 5 6 1 chunk +74 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/aec_dump_factory.h View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/aec_dump_impl.h View 1 2 3 4 5 6 1 chunk +86 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/aec_dump_impl.cc View 1 2 3 4 5 6 1 chunk +202 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/aec_dump_unittest.cc View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/capture_stream_info_impl.h View 1 2 3 4 5 6 1 chunk +68 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/capture_stream_info_impl.cc View 1 2 3 4 5 6 1 chunk +77 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/null_aec_dump_factory.cc View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/write_to_file_task.h View 1 2 3 4 5 6 7 1 chunk +59 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec_dump/write_to_file_task.cc View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 2 3 4 5 6 2 chunks +6 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 5 6 6 chunks +14 lines, -16 lines 0 comments Download
M webrtc/modules/audio_processing/include/aec_dump.h View 1 2 3 4 5 6 3 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (12 generated)
peah-webrtc
3 years, 7 months ago (2017-05-04 14:40:32 UTC) #5
drive-by comments

https://codereview.webrtc.org/2838133003/diff/120001/webrtc/modules/audio_pro...
File webrtc/modules/audio_processing/aec_dump/aec_dump_impl.cc (right):

https://codereview.webrtc.org/2838133003/diff/120001/webrtc/modules/audio_pro...
webrtc/modules/audio_processing/aec_dump/aec_dump_impl.cc:215: auto event =
std::unique_ptr<audioproc::Event>(new audioproc::Event());
Is it possible to have event being a part of WriteToFileTask? As it is now, you
need to new-up 2 object for each store.

https://codereview.webrtc.org/2838133003/diff/120001/webrtc/modules/audio_pro...
webrtc/modules/audio_processing/aec_dump/aec_dump_impl.cc:233:
worker_queue_->PostTask(std::unique_ptr<rtc::QueuedTask>(new WriteToFileTask(
Is it needed to create a new task here? Can't we reuse a task?

Powered by Google App Engine
This is Rietveld 408576698