Cleanup log formatting in modules/audio_processing
Bug: None
Change-Id: I47177530d8a85d7b2f143081de71f5a3bf8ec354
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166041
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30379}
diff --git a/modules/audio_processing/audio_processing_unittest.cc b/modules/audio_processing/audio_processing_unittest.cc
index 2f557e5..3ff3b33 100644
--- a/modules/audio_processing/audio_processing_unittest.cc
+++ b/modules/audio_processing/audio_processing_unittest.cc
@@ -2160,36 +2160,24 @@
size_t capture_output_num_channels) {
rtc::StringBuilder ss;
ss << "Sample rates:"
- "\n"
- " Render input: "
+ "\n Render input: "
<< render_input_sample_rate_hz
<< " Hz"
- "\n"
- " Render output: "
+ "\n Render output: "
<< render_output_sample_rate_hz
<< " Hz"
- "\n"
- " Capture input: "
+ "\n Capture input: "
<< capture_input_sample_rate_hz
<< " Hz"
- "\n"
- " Capture output: "
+ "\n Capture output: "
<< capture_output_sample_rate_hz
<< " Hz"
- "\n"
- "Number of channels:"
- "\n"
- " Render input: "
+ "\nNumber of channels:"
+ "\n Render input: "
<< render_input_num_channels
- << "\n"
- " Render output: "
- << render_output_num_channels
- << "\n"
- " Capture input: "
- << capture_input_num_channels
- << "\n"
- " Capture output: "
- << capture_output_num_channels;
+ << "\n Render output: " << render_output_num_channels
+ << "\n Capture input: " << capture_input_num_channels
+ << "\n Capture output: " << capture_output_num_channels;
return ss.Release();
}