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:
parent
9a4c93b7d7
commit
67c76b214d
@ -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();
|
||||
|
||||
@ -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_; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user