Harmonize APM config logging, update config ToString

It is unclear what configuration the APM is running with.
This CL helps some of that. Note that the webrtc::Config
is still not reported.

Bug: webrtc:5298
Change-Id: Icc2cf0b20634c04d567c0951a57ba6fe7aa5c5b4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157423
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Reviewed-by: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29555}
This commit is contained in:
Sam Zackrisson
2019-10-21 12:54:02 +02:00
committed by Commit Bot
parent 682dabd1c1
commit 72cc71cd70
2 changed files with 16 additions and 14 deletions

View File

@ -72,6 +72,11 @@ std::string AudioProcessing::Config::ToString() const {
char buf[1024];
rtc::SimpleStringBuilder builder(buf);
builder << "AudioProcessing::Config{ "
<< "pipeline: {"
<< "maximum_internal_processing_rate: "
<< pipeline.maximum_internal_processing_rate
<< ", experimental_multi_channel: "
<< pipeline.experimental_multi_channel << "}, "
<< "pre_amplifier: { enabled: " << pre_amplifier.enabled
<< ", fixed_gain_factor: " << pre_amplifier.fixed_gain_factor
<< " }, high_pass_filter: { enabled: " << high_pass_filter.enabled