From: Mike Brady Date: Sat, 10 Feb 2018 17:58:39 +0000 (+0000) Subject: Quieten a few debug messages X-Git-Tag: 3.2d29~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e4ac7d056385fc30d35f106d922678f67d4e71;p=thirdparty%2Fshairport-sync.git Quieten a few debug messages --- diff --git a/player.c b/player.c index 1c746210..7ea87235 100644 --- a/player.c +++ b/player.c @@ -498,7 +498,7 @@ void player_put_packet(seq_t seqno, int64_t timestamp, uint8_t *data, int len, abuf_t *abuf = 0; if (!conn->ab_synced) { - debug(2, "syncing to seqno %u.", seqno); + debug(3, "syncing to seqno %u.", seqno); conn->ab_write = seqno; conn->ab_read = seqno; conn->ab_synced = 1; diff --git a/rtp.c b/rtp.c index 2cc8f111..530c7c58 100644 --- a/rtp.c +++ b/rtp.c @@ -225,7 +225,7 @@ void *rtp_control_receiver(void *arg) { sync_rtp_timestamp = monotonic_timestamp(ntohl(*((uint32_t *)&packet[16])), conn); - debug(1,"Sync timestamp is %u.",ntohl(*((uint32_t *)&packet[16]))); + // debug(1,"Sync timestamp is %u.",ntohl(*((uint32_t *)&packet[16]))); if (config.userSuppliedLatency) { if (config.userSuppliedLatency != conn->latency) { @@ -234,7 +234,6 @@ void *rtp_control_receiver(void *arg) { conn->latency = config.userSuppliedLatency; } else if (packet[0] & 0x10) { // only set latency if it's a packet just after a flush or resume - debug(1,"Set latency"); int64_t rtp_timestamp_less_latency = monotonic_timestamp(ntohl(*((uint32_t *)&packet[4])), conn); int64_t la = sync_rtp_timestamp - rtp_timestamp_less_latency + config.fixedLatencyOffset; @@ -280,7 +279,7 @@ void *rtp_control_receiver(void *arg) { debug(1, "Sync packet received before we got a timing packet back."); } } else if (packet[1] == 0xd6) { // resent audio data in the control path -- whaale only? - debug(1, "Control Port -- Retransmitted Audio Data Packet received."); + // debug(1, "Control Port -- Retransmitted Audio Data Packet received."); pktp = packet + 4; plen -= 4; seq_t seqno = ntohs(*(uint16_t*)(pktp + 2));