From: Mike Brady Date: Wed, 18 Apr 2018 09:34:50 +0000 (+0100) Subject: Improvements in handling non-existent DACP server, slightly more informative debug... X-Git-Tag: 3.2RC4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad48056686b425bf6b8a6070f9fa59d1c6cf8da1;p=thirdparty%2Fshairport-sync.git Improvements in handling non-existent DACP server, slightly more informative debug messages. 3.2RC4. --- ad48056686b425bf6b8a6070f9fa59d1c6cf8da1 diff --cc rtp.c index 57f204e6,b0099910..0f8d3dcf --- a/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.");