AEC3: Minor code corrections

Bug: webrtc:8671
Change-Id: I096053087e7ef0f3375f9c20b55558c1cec670cc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/136806
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27963}
This commit is contained in:
Per Åhgren 2019-05-14 14:41:27 +02:00 committed by Commit Bot
parent 9a4c93b7d7
commit 67c76b214d
2 changed files with 2 additions and 3 deletions

View File

@ -298,8 +298,7 @@ void ApplyFilter_NEON(const RenderBuffer& render_buffer,
rtc::ArrayView<const FftData> H,
FftData* S) {
RTC_DCHECK_GE(H.size(), H.size() - 1);
S->re.fill(0.f);
S->im.fill(0.f);
S->Clear();
rtc::ArrayView<const FftData> render_buffer_data =
render_buffer.GetFftBuffer();

View File

@ -50,7 +50,7 @@ class FilterAnalyzer {
float Gain() const { return gain_; }
// Returns the number of blocks for the current used filter.
float FilterLengthBlocks() const { return filter_length_blocks_; }
int FilterLengthBlocks() const { return filter_length_blocks_; }
// Returns the preprocessed filter.
rtc::ArrayView<const float> GetAdjustedFilter() const { return h_highpass_; }