]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Improvements in handling non-existent DACP server, slightly more informative debug...
authorMike Brady <mikebrady@eircom.net>
Wed, 18 Apr 2018 09:34:50 +0000 (10:34 +0100)
committerMike Brady <mikebrady@eircom.net>
Wed, 18 Apr 2018 09:34:50 +0000 (10:34 +0100)
1  2 
dacp.c
player.c
rtp.c

diff --cc dacp.c
Simple merge
diff --cc player.c
Simple merge
diff --cc rtp.c
index 57f204e6875b09fcc54eaf9a8542c048b4bb0c59,b009991051c70a95ea2f59ef9003aa6d3be385da..0f8d3dcfa5b3d3f0e716181b5b2f48b234c5e4e9
--- 1/rtp.c
--- 2/rtp.c
+++ b/rtp.c
@@@ -469,9 -469,8 +469,9 @@@ void *rtp_timing_sender(void *arg) 
        }
  
      } else {
-       debug(1, "Timing Sender -- dropping an outbound timing packet to simulate a bad network.");
+       debug(2, "Timing Sender Thread -- dropping outgoing packet to simulate bad network.");
      }
 +
      request_number++;
  
      // this is to deal with the possibility of missing a timing_sender_stop signal.
@@@ -533,6 -530,9 +531,7 @@@ void *rtp_timing_receiver(void *arg) 
  
        if ((config.diagnostic_drop_packet_fraction == 0.0) ||
            (drand48() > config.diagnostic_drop_packet_fraction)) {
 -
+         arrival_time = get_absolute_time_in_fp();
 -        //      clock_gettime(CLOCK_MONOTONIC,&att);
  
          // ssize_t plen = nread;
          // debug(1,"Packet Received on Timing Port.");