]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Get packet stats at debug level 1
authorMike Brady <mikebrady@eircom.net>
Sat, 26 Mar 2016 22:26:52 +0000 (22:26 +0000)
committerMike Brady <mikebrady@eircom.net>
Sat, 26 Mar 2016 22:26:52 +0000 (22:26 +0000)
rtp.c

diff --git a/rtp.c b/rtp.c
index 3d930e57e463078352822fb3300f8de12a691809..802926c7ddf1d21aef8a5eb387385243ecb4ba3b 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -124,7 +124,7 @@ void *rtp_audio_receiver(void *arg) {
       stat_mean += stat_delta/stat_n;
       stat_M2 += stat_delta*(time_interval_us - stat_mean);
       if (stat_n % 2500 == 0) {
-        debug(3,"Packet reception intervals: mean, standard deviation and max for the last 2,500 packets in microseconds: %10.1f, %10.1f, %10.1f.",stat_mean, sqrtf(stat_M2 / (stat_n-1)),longest_packet_time_interval_us);
+        debug(1,"Packet reception intervals: mean, standard deviation and max for the last 2,500 packets in microseconds: %10.1f, %10.1f, %10.1f.",stat_mean, sqrtf(stat_M2 / (stat_n-1)),longest_packet_time_interval_us);
         stat_n = 0;
         stat_mean = 0.0;
         stat_M2 = 0.0;