]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten a few debug messages
authorMike Brady <mikebrady@eircom.net>
Sat, 10 Feb 2018 17:58:39 +0000 (17:58 +0000)
committerMike Brady <mikebrady@eircom.net>
Sat, 10 Feb 2018 17:58:39 +0000 (17:58 +0000)
player.c
rtp.c

index 1c746210f46cc5e81e48497b02afb647885f321a..7ea87235e4eb3a94f9506a78ff13b4a16e6e174b 100644 (file)
--- 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 2cc8f111396e452d9014e011ed856412559f8f22..530c7c58443cd80da4172f8fbd5fbb159a513e4b 100644 (file)
--- 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));