Add ability to dump the coarse filter in the echo subtractor

Bug: b/155316201
Change-Id: I008cdf1531af3c3c0fff4ce19ad5dd74f8e73f65
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/217891
Reviewed-by: Sam Zackrisson <saza@google.com>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34047}
This commit is contained in:
Per Åhgren
2021-05-07 23:28:42 +00:00
committed by WebRTC LUCI CQ
parent cf0ec283d2
commit 91a892f8ed
3 changed files with 41 additions and 2 deletions

View File

@ -65,6 +65,15 @@ class ApmDataDumper {
#endif
}
// Returns whether dumping functionality is enabled/available.
static bool IsAvailable() {
#if WEBRTC_APM_DEBUG_DUMP == 1
return true;
#else
return false;
#endif
}
// Default dump set.
static constexpr size_t kDefaultDumpSet = 0;