From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 22 Dec 2021 13:47:49 +0000 (+0000) Subject: Quieten a few debug mssages, slightly shorten the minimum lead time needed for good... X-Git-Tag: 4.1-rc1~24^2~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b9d15e36f70636abc6717773e3ca8dc7ddcf4d;p=thirdparty%2Fshairport-sync.git Quieten a few debug mssages, slightly shorten the minimum lead time needed for good initial sync. --- diff --git a/player.c b/player.c index 2e9819c9..db7ec169 100644 --- a/player.c +++ b/player.c @@ -1063,12 +1063,12 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) { int64_t lt = conn->first_packet_time_to_play - local_time_now; - if (lt < 150000000) { + if (lt < 130000000) { debug(1, "Connection %d: Short lead time for first frame %" PRId64 ": %f seconds. Flushing 0.5 seconds", conn->connection_number, conn->first_packet_timestamp, lt * 0.000000001); do_flush(conn->first_packet_timestamp + 5 * 4410, conn); } else { - debug(1, "Connection %d: Lead time for first frame %" PRId64 ": %f seconds.", + debug(2, "Connection %d: Lead time for first frame %" PRId64 ": %f seconds.", conn->connection_number, conn->first_packet_timestamp, lt * 0.000000001); } /* diff --git a/ptp-utilities.c b/ptp-utilities.c index 2b60aaaf..fa1c6407 100644 --- a/ptp-utilities.c +++ b/ptp-utilities.c @@ -148,7 +148,7 @@ int ptp_shm_interface_close() { } void ptp_send_control_message_string(const char *msg) { - debug(1, "Send control message to NQPTP: \"%s\"", msg); + debug(2, "Send control message to NQPTP: \"%s\"", msg); int s; unsigned short port = htons(NQPTP_CONTROL_PORT); struct sockaddr_in server;