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}
This commit is contained in:
@ -2160,36 +2160,24 @@ std::string ProduceDebugText(int render_input_sample_rate_hz,
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user