From c0653abf33028a338e528a0947f56469c9caaac7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Jul 2017 12:27:33 +0200 Subject: Change printout of audio level stats --- src/etianalyse.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/etianalyse.cpp b/src/etianalyse.cpp index 322e45a..b79827b 100644 --- a/src/etianalyse.cpp +++ b/src/etianalyse.cpp @@ -517,10 +517,12 @@ void ETI_Analyser::eti_analyse() } const auto& stat = snoop.second.get_audio_statistics(); - printf(" Avg L: %d dB\n", absolute_to_dB(stat.average_level_left)); - printf(" Avg R: %d dB\n", absolute_to_dB(stat.average_level_right)); - printf(" Peak L: %d dB\n", absolute_to_dB(stat.peak_level_left)); - printf(" Peak R: %d dB\n", absolute_to_dB(stat.peak_level_right)); + printf(" Avg L/R: %d %d dB ", + absolute_to_dB(stat.average_level_left), + absolute_to_dB(stat.average_level_right)); + printf(" Peak L/R: %d %d dB\n", + absolute_to_dB(stat.peak_level_left), + absolute_to_dB(stat.peak_level_right)); } } -- cgit v1.2.3