]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Adjust the debug level of buffers exhausted and network condition messages.
authorMike Brady <mikebrady@eircom.net>
Sun, 22 Oct 2017 09:20:21 +0000 (11:20 +0200)
committerMike Brady <mikebrady@eircom.net>
Sun, 22 Oct 2017 09:20:21 +0000 (11:20 +0200)
player.c
rtp.c

index 87a9132dfad62ca4092344fa3b53211a0f2a46bd..c6a20d7c798c1ee21163f70fcc209540c9380bfe 100644 (file)
--- a/player.c
+++ b/player.c
@@ -1095,7 +1095,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
     if (do_wait == 0)
       if ((conn->ab_synced != 0) && (conn->ab_read == conn->ab_write)) { // the buffer is empty!
         if (notified_buffer_empty == 0) {
-          debug(3, "Buffers exhausted.");
+          debug(2, "Buffers exhausted.");
           notified_buffer_empty = 1;
         }
         do_wait = 1;
diff --git a/rtp.c b/rtp.c
index 5b373dbf4d8c791b4dfafcfd6d260e71ffeb6c4b..89c9c7364024f8f43bd1af84deab3d4210b05e31 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -95,7 +95,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 interval stats: mean, standard deviation and max for the last "
+        debug(2, "Packet reception interval stats: 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;