Mercurial > hg > beaglert
diff core/ClockSyncThread.cpp @ 152:8f98b32d0e23 ClockSync
Last commit on this branch for a while. Overall not very succesful
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 05 Oct 2015 13:06:14 +0100 |
parents | 134bff10e561 |
children |
line wrap: on
line diff
--- a/core/ClockSyncThread.cpp Tue Sep 22 04:10:07 2015 +0100 +++ b/core/ClockSyncThread.cpp Mon Oct 05 13:06:14 2015 +0100 @@ -23,7 +23,10 @@ stopThread(); #endif /* USE_JUCE */ } + +ClockSync* gClockSync; void ClockSyncThread::init(bool isSlave, int aPort, VirtualClock &aVirtualClock){ + gClockSync = &clockSync; setVirtualClock(aVirtualClock); listening=false; clockSync.init(isSlave, aPort, *virtualClock);