diff options
Diffstat (limited to 'modules/audio_processing/aec3/matched_filter_lag_aggregator.h')
-rw-r--r-- | modules/audio_processing/aec3/matched_filter_lag_aggregator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/audio_processing/aec3/matched_filter_lag_aggregator.h b/modules/audio_processing/aec3/matched_filter_lag_aggregator.h index d48011e477..612bd5d942 100644 --- a/modules/audio_processing/aec3/matched_filter_lag_aggregator.h +++ b/modules/audio_processing/aec3/matched_filter_lag_aggregator.h @@ -45,6 +45,9 @@ class MatchedFilterLagAggregator { absl::optional<DelayEstimate> Aggregate( rtc::ArrayView<const MatchedFilter::LagEstimate> lag_estimates); + // Returns whether a reliable delay estimate has been found. + bool ReliableDelayFound() const { return significant_candidate_found_; } + private: ApmDataDumper* const data_dumper_; std::vector<int> histogram_; |