diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-04-25 11:34:46 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-04-25 11:34:46 +0200 |
commit | 450300013cdcc34570365832b31024959e19b107 (patch) | |
tree | c4d9a9d5c6b118d9e584434bc3b7d055d36151bb /src/dabInputZmq.cpp | |
parent | e79bbb00757cb6e7a415aa613d52253b12ca26a8 (diff) | |
download | dabmux-450300013cdcc34570365832b31024959e19b107.tar.gz dabmux-450300013cdcc34570365832b31024959e19b107.tar.bz2 dabmux-450300013cdcc34570365832b31024959e19b107.zip |
Add peak audio levels to statistics
Diffstat (limited to 'src/dabInputZmq.cpp')
-rw-r--r-- | src/dabInputZmq.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp index 2a18588..1b45960 100644 --- a/src/dabInputZmq.cpp +++ b/src/dabInputZmq.cpp @@ -425,6 +425,9 @@ int DabInputZmqAAC::readFromSocket(size_t framesize) frame->encoder == ZMQ_ENCODER_FDK) { datalen = frame->datasize; data = ZMQ_FRAME_DATA(frame); + + global_stats->notifyPeakLevels(m_name, frame->audiolevel_left, + frame->audiolevel_right); } |