comparison include/VirtualClock.h @ 150:ebbfb154351a ClockSync

Now leveraging BBB's lock between xenomai clock and audio clock for ultra-accurate, low-latency clocking. CAVEAT: fractions of samples drifts will occurr every time the clock is changed
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 22 Sep 2015 04:09:13 +0100
parents 134bff10e561
children
comparison
equal deleted inserted replaced
149:134bff10e561 150:ebbfb154351a
7 #include "IirFilter.h" 7 #include "IirFilter.h"
8 #include "Kalman.h" 8 #include "Kalman.h"
9 #ifdef USE_JUCE 9 #ifdef USE_JUCE
10 #else 10 #else
11 #include <BeagleRT.h> 11 #include <BeagleRT.h>
12 #include <I2c_Codec.h>
13 extern I2c_Codec* gAudioCodec;
12 #endif /* USE_JUCE */ 14 #endif /* USE_JUCE */
13 15
14 class VirtualClock{ 16 class VirtualClock{
15 private: 17 private:
16 myClock_t startTime; 18 myClock_t startTime;