commit | c2ae4c8a37ca4460787cd5718356b0c01b8ba470 | [log] [tgz] |
---|---|---|
author | Per Åhgren <peah@webrtc.org> | Wed Jan 20 15:42:13 2021 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 20 16:38:17 2021 +0000 |
tree | bde2799e086d90db2b72d94686319b71b9f8ca8f | |
parent | 0be1846477949c472a7a2bf42134a7bb08570ac4 [diff] [blame] |
Allow separate dump sets for the data dumper in APM This CL allows separate dump sets to be used when dumping internal APM data using audioproc_f, opening up for reducing the amount of data to be dumped. Bug: webrtc:5298 Change-Id: I8286933ceed10db074f2064414cc08e8b12653fa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/196089 Commit-Queue: Per Åhgren <peah@webrtc.org> Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33047}
diff --git a/modules/audio_processing/logging/apm_data_dumper.cc b/modules/audio_processing/logging/apm_data_dumper.cc index 917df60..445248b 100644 --- a/modules/audio_processing/logging/apm_data_dumper.cc +++ b/modules/audio_processing/logging/apm_data_dumper.cc
@@ -61,6 +61,7 @@ #if WEBRTC_APM_DEBUG_DUMP == 1 bool ApmDataDumper::recording_activated_ = false; +absl::optional<int> ApmDataDumper::dump_set_to_use_; char ApmDataDumper::output_dir_[] = ""; FILE* ApmDataDumper::GetRawFile(const char* name) {