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}
diff --git a/modules/audio_processing/audio_processing_impl.cc b/modules/audio_processing/audio_processing_impl.cc
index aac00d6..5e5c7f1 100644
--- a/modules/audio_processing/audio_processing_impl.cc
+++ b/modules/audio_processing/audio_processing_impl.cc
@@ -2025,7 +2025,7 @@
   RTC_DCHECK(aec_dump_);
 
   aec_dump_->AddCaptureStreamOutput(data, config.num_channels(),
-                                    config.num_channels());
+                                    config.num_frames());
   aec_dump_->WriteCaptureStreamMessage();
 }