From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 29 Jun 2024 19:05:15 +0000 (+0100) Subject: remove watchdog stuff X-Git-Tag: 4.3.4~1^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bccf0775d37c3c5e3081986fb9f7d19d8a0bf7ad;p=thirdparty%2Fshairport-sync.git remove watchdog stuff --- diff --git a/player.h b/player.h index b35eb765..aaa5b1f4 100644 --- a/player.h +++ b/player.h @@ -167,14 +167,11 @@ typedef struct { SOCKADDR remote, local; volatile int stop; volatile int running; - volatile uint64_t watchdog_bark_time; - volatile int watchdog_barks; // number of times the watchdog has timed out and done something uint64_t playstart; uint64_t connection_start_time; // the time the device is selected, which could be a long time // before a play - pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread, - player_watchdog_thread; + pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread; // buffers to delete on exit int32_t *tbuf; @@ -380,7 +377,6 @@ typedef struct { // request in flight at the same time pthread_mutex_t reference_time_mutex; - pthread_mutex_t watchdog_mutex; double local_to_remote_time_gradient; // if no drift, this would be exactly 1.0; likely it's // slightly above or below.