aboutsummaryrefslogtreecommitdiffstats
path: root/toolame.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-01-26 18:19:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-01-26 18:19:42 +0100
commitc923b6748da64fcdbd9cd47abbe56078800b3e99 (patch)
tree0191dbaa8f9f2a2ee554e63b064c0dd9a9a1ecd8 /toolame.c
parent3f0ef0d9ee56101684c717e665e9e66555f53792 (diff)
downloadtoolame-dab-c923b6748da64fcdbd9cd47abbe56078800b3e99.tar.gz
toolame-dab-c923b6748da64fcdbd9cd47abbe56078800b3e99.tar.bz2
toolame-dab-c923b6748da64fcdbd9cd47abbe56078800b3e99.zip
Add peak audio information to zmq header
Diffstat (limited to 'toolame.c')
-rw-r--r--toolame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolame.c b/toolame.c
index 42cc558..c64744a 100644
--- a/toolame.c
+++ b/toolame.c
@@ -534,6 +534,10 @@ int main (int argc, char **argv)
}
sentBits += frameBits;
+
+ // Reset peak measurement
+ peak_left = 0;
+ peak_right = 0;
}
close_bit_stream_w (&bs);