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:
@ -55,17 +55,30 @@ class ErleEstimator {
|
||||
const std::vector<bool>& converged_filters);
|
||||
|
||||
// Returns the most recent subband ERLE estimates.
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> Erle() const {
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> Erle(
|
||||
bool onset_compensated) const {
|
||||
return signal_dependent_erle_estimator_
|
||||
? signal_dependent_erle_estimator_->Erle()
|
||||
: subband_erle_estimator_.Erle();
|
||||
? signal_dependent_erle_estimator_->Erle(onset_compensated)
|
||||
: subband_erle_estimator_.Erle(onset_compensated);
|
||||
}
|
||||
|
||||
// Returns the non-capped subband ERLE.
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleUnbounded()
|
||||
const {
|
||||
// Unbounded ERLE is only used with the subband erle estimator where the
|
||||
// ERLE is often capped at low values. When the signal dependent ERLE
|
||||
// estimator is used the capped ERLE is returned.
|
||||
return !signal_dependent_erle_estimator_
|
||||
? subband_erle_estimator_.ErleUnbounded()
|
||||
: signal_dependent_erle_estimator_->Erle(
|
||||
/*onset_compensated=*/false);
|
||||
}
|
||||
|
||||
// Returns the subband ERLE that are estimated during onsets (only used for
|
||||
// testing).
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleOnsets()
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> ErleDuringOnsets()
|
||||
const {
|
||||
return subband_erle_estimator_.ErleOnsets();
|
||||
return subband_erle_estimator_.ErleDuringOnsets();
|
||||
}
|
||||
|
||||
// Returns the fullband ERLE estimate.
|
||||
|
Reference in New Issue
Block a user