Dump histogram data in AEC3 delay estimator

Bug: None
Change-Id: I97efa2f61bc91f67f0e4d61d79d25b321ec7c31c
Reviewed-on: https://webrtc-review.googlesource.com/c/121768
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26636}
This commit is contained in:
Sam Zackrisson
2019-02-08 16:18:35 +01:00
committed by Commit Bot
parent 271195f336
commit 00f9400d82

View File

@ -57,6 +57,7 @@ absl::optional<DelayEstimate> MatchedFilterLagAggregator::Aggregate(
// TODO(peah): Remove this logging once all development is done.
data_dumper_->DumpRaw("aec3_echo_path_delay_estimator_best_index",
best_lag_estimate_index);
data_dumper_->DumpRaw("aec3_echo_path_delay_estimator_histogram", histogram_);
if (best_lag_estimate_index != -1) {
RTC_DCHECK_GT(histogram_.size(), histogram_data_[histogram_data_index_]);