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

Issue 2864373002: Change existing aec dump tests to use webrtc::AecDump. (Closed)

Created:
3 years, 7 months ago by aleloi
Modified:
3 years, 6 months ago
Reviewers:
AleBzk
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), kwiberg-webrtc, Andrew MacDonald, aleloi, hlundin-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc, minyue-webrtc, the sun, AleBzk, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change existing aec dump tests to use webrtc::AecDump. Currently the debug dump functionality of WebRTC (a log of all AudioProcessing operations) was tested by the following tests: 1. ApmTest.VerifyDebugDump* which configures and runs AudioProcessing from a debug dump, and verifies that the same debug dump is recorded. 2. DebugDumpTest.* which is a comprehensive test of the debug dump operations. AudioProcessing configuration is changed, and the dump is scanned for the change. 3. ApmTest::{DebugDump, DebugDumpFromFileHandle} that verify that debug dumping can be started and files written. This CL replaces the debug dump mechanism in all these tests to webrtc::AecDump. Some of the tests are adapted to the chenges of the new API to AecDump {Start,Stop}DebugRecording: the old functions signal errors when a file cannot be opened. With AecDump, the AecDumpFactory instead returns a nullptr. The CL also changes audioproc_f to use AecDump. BUG=webrtc:7404 Review-Url: https://codereview.webrtc.org/2864373002 Cr-Commit-Position: refs/heads/master@{#18605} Committed: https://chromium.googlesource.com/external/webrtc/+/f4dd191b288830be57787b547c05094652c2171c

Patch Set 1 #

Patch Set 2 : Mini-change, forgot about DCHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -35 lines) Patch
M webrtc/modules/audio_processing/BUILD.gn View 1 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_unittest.cc View 1 8 chunks +28 lines, -23 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_simulator.h View 2 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_simulator.cc View 1 4 chunks +5 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/test/debug_dump_test.cc View 5 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 73 (69 generated)
aleloi
Hi! Can you PTAL on this CL? It's cleanup from another API change.
3 years, 6 months ago (2017-06-08 13:14:18 UTC) #63
AleBzk
LGTM
3 years, 6 months ago (2017-06-13 08:05:57 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2864373002/280001
3 years, 6 months ago (2017-06-15 08:33:25 UTC) #70
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 08:55:45 UTC) #73
Message was sent while issue was closed.
Committed patchset #2 (id:280001) as
https://chromium.googlesource.com/external/webrtc/+/f4dd191b288830be57787b547...

Powered by Google App Engine
This is Rietveld 408576698