Correct the storing of the processed output in aecdumps

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 <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30829}
This commit is contained in:
Per Åhgren
2020-03-18 21:59:52 +01:00
committed by Commit Bot
parent e58ebfd933
commit 088329fe2a

View File

@ -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();
}