From 088329fe2a312dfeea476f9f4d337e9574403579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85hgren?= Date: Wed, 18 Mar 2020 21:59:52 +0100 Subject: [PATCH] Correct the storing of the processed output in aecdumps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL corrects an issue in the storing of the processed capture output into aecdump recordings for the case when the integer API interface is used. Bug: webrtc:11441 Change-Id: I24aad47b5d62e0738d412ec270ad1db3a76aa94f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170823 Reviewed-by: Sam Zackrisson Commit-Queue: Per Ã…hgren Cr-Commit-Position: refs/heads/master@{#30829} --- modules/audio_processing/audio_processing_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_processing/audio_processing_impl.cc b/modules/audio_processing/audio_processing_impl.cc index aac00d6e53..5e5c7f10e7 100644 --- a/modules/audio_processing/audio_processing_impl.cc +++ b/modules/audio_processing/audio_processing_impl.cc @@ -2025,7 +2025,7 @@ void AudioProcessingImpl::RecordProcessedCaptureStream( RTC_DCHECK(aec_dump_); aec_dump_->AddCaptureStreamOutput(data, config.num_channels(), - config.num_channels()); + config.num_frames()); aec_dump_->WriteCaptureStreamMessage(); }