diff --git a/common/JackNetInterface.cpp b/common/JackNetInterface.cpp index 9f3c6ff6..f4c49c47 100644 --- a/common/JackNetInterface.cpp +++ b/common/JackNetInterface.cpp @@ -499,9 +499,6 @@ namespace Jack if (fCurrentCycleOffset == fMaxCycleOffset) { // when the sync offset is reached fSynched = true; - } else if (abs(fCurrentCycleOffset - fMaxCycleOffset) >= NETWORK_RESYNCH_LATENCY) { - jack_info("Resync connection..."); - fSynched = false; } rx_bytes = Recv(rx_head->fPacketSize, 0); fRxHeader.fIsLastPckt = rx_head->fIsLastPckt; diff --git a/common/JackNetInterface.h b/common/JackNetInterface.h index cd36e475..81fb6fb4 100644 --- a/common/JackNetInterface.h +++ b/common/JackNetInterface.h @@ -37,8 +37,7 @@ namespace Jack #define SLAVE_INIT_TIMEOUT 1000000 * 10 // in usec #define PACKET_TIMEOUT 500000 // in usec -#define NETWORK_MAX_LATENCY 20 // maximun possile latency in network master/slave loop -#define NETWORK_RESYNCH_LATENCY 3 // number of cycles offset before a resync is done.... +#define NETWORK_MAX_LATENCY 30 // maximum possible latency in network master/slave loop /** \Brief This class describes the basic Net Interface, used by both master and slave.