From df70427a22c357cd24f6081d42395e8375da3a48 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 27 Sep 2014 08:38:02 +0100 Subject: [PATCH] Supress multiple sequencial resync activity in some situations. --- player.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player.c b/player.c index db2b06d1..b3e3a676 100644 --- a/player.c +++ b/player.c @@ -916,6 +916,7 @@ static void *player_thread_func(void *arg) { // debug(1,"Sync error out of bounds: Error: %lld; previous error: %lld; DAC: %lld; timestamp: %llx, time now %llx",sync_error,previous_sync_error,current_delay,inframe->timestamp,local_time_now); if (sync_error_out_of_bounds>3) { debug(1,"Lost sync with source for %d consecutive packets -- flushing and resyncing. Error: %lld.",sync_error_out_of_bounds,sync_error); + sync_error_out_of_bounds = 0; player_flush(nt); } } else {