Bump to WebRTC M120 release
Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone. We're continuing to carry iSAC even though it's gone upstream, but maybe we'll want to drop that soon.
This commit is contained in:
@ -41,14 +41,22 @@ class SubbandErleEstimator {
|
||||
const std::vector<bool>& converged_filters);
|
||||
|
||||
// Returns the ERLE estimate.
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> Erle() const {
|
||||
return erle_;
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> Erle(
|
||||
bool onset_compensated) const {
|
||||
return onset_compensated && use_onset_detection_ ? erle_onset_compensated_
|
||||
: erle_;
|
||||
}
|
||||
|
||||
// Returns the non-capped ERLE estimate.
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleUnbounded()
|
||||
const {
|
||||
return erle_unbounded_;
|
||||
}
|
||||
|
||||
// Returns the ERLE estimate at onsets (only used for testing).
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleOnsets()
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleDuringOnsets()
|
||||
const {
|
||||
return erle_onsets_;
|
||||
return erle_during_onsets_;
|
||||
}
|
||||
|
||||
void Dump(const std::unique_ptr<ApmDataDumper>& data_dumper) const;
|
||||
@ -82,8 +90,13 @@ class SubbandErleEstimator {
|
||||
const std::array<float, kFftLengthBy2Plus1> max_erle_;
|
||||
const bool use_min_erle_during_onsets_;
|
||||
AccumulatedSpectra accum_spectra_;
|
||||
// ERLE without special handling of render onsets.
|
||||
std::vector<std::array<float, kFftLengthBy2Plus1>> erle_;
|
||||
std::vector<std::array<float, kFftLengthBy2Plus1>> erle_onsets_;
|
||||
// ERLE lowered during render onsets.
|
||||
std::vector<std::array<float, kFftLengthBy2Plus1>> erle_onset_compensated_;
|
||||
std::vector<std::array<float, kFftLengthBy2Plus1>> erle_unbounded_;
|
||||
// Estimation of ERLE during render onsets.
|
||||
std::vector<std::array<float, kFftLengthBy2Plus1>> erle_during_onsets_;
|
||||
std::vector<std::array<bool, kFftLengthBy2Plus1>> coming_onset_;
|
||||
std::vector<std::array<int, kFftLengthBy2Plus1>> hold_counters_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user