From: Mike Brady Date: Sun, 22 Oct 2017 09:20:21 +0000 (+0200) Subject: Adjust the debug level of buffers exhausted and network condition messages. X-Git-Tag: 3.2d10~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646780385870877e5b5c38e69fe786b58e337457;p=thirdparty%2Fshairport-sync.git Adjust the debug level of buffers exhausted and network condition messages. --- diff --git a/player.c b/player.c index 87a9132d..c6a20d7c 100644 --- 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 5b373dbf..89c9c736 100644 --- 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;