1
0
mirror of https://github.com/JvanKatwijk/dabradio synced 2025-10-06 00:02:49 +02:00
Files
SDR-DAB_dabradio/includes/ofdm/timesyncer.h
2018-09-04 12:48:24 +02:00

25 lines
423 B
C++

#ifndef __TIMESYNCER__
#define __TIMESYNCER__
#include "dab-constants.h"
#define TIMESYNC_ESTABLISHED 0100
#define NO_DIP_FOUND 0101
#define NO_END_OF_DIP_FOUND 0102
class sampleReader;
class timeSyncer {
public:
timeSyncer (sampleReader *mr);
~timeSyncer (void);
int sync (int, int);
private:
sampleReader *myReader;
int32_t syncBufferIndex = 0;
const int32_t syncBufferSize = 4096;
};
#endif