aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-07-07 12:27:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-07-07 12:27:33 +0200
commitc0653abf33028a338e528a0947f56469c9caaac7 (patch)
tree22f49e94092213c5fe3179d7cd051a9dee2551be
parentea355c46d1e57cb06384e7418bb0b3e539e36852 (diff)
downloadetisnoop-c0653abf33028a338e528a0947f56469c9caaac7.tar.gz
etisnoop-c0653abf33028a338e528a0947f56469c9caaac7.tar.bz2
etisnoop-c0653abf33028a338e528a0947f56469c9caaac7.zip
Change printout of audio level stats
-rw-r--r--src/etianalyse.cpp10
1 files changed, 6 insertions, 4 deletions
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));
}
}