1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 19:44:12 -04:00

SDRdaemon: new auto skew rate compensation #1

This commit is contained in:
Edouard Griffiths
2016-03-15 18:56:15 +01:00
parent f9c13dace9
commit 026016c0d5
3 changed files with 45 additions and 7 deletions
@@ -92,6 +92,7 @@ private:
void writeDataLZ4(const char *array, uint32_t length);
void writeToRawBufferLZ4();
void writeToRawBufferUncompressed(const char *array, uint32_t length);
void resetIndexes();
static void printMeta(const QString& header, MetaData *metaData);
@@ -129,7 +130,10 @@ private:
uint8_t *m_readBuffer; //!< Read buffer to hold samples when looping back to beginning of raw buffer
bool m_autoFollowRate; //!< Auto follow stream sample rate else stick with meta data sample rate
bool m_skewTest;
bool m_skewCorrection; //!< Do a skew rate correction at next meta data reception
uint64_t m_readCount;
uint64_t m_writeCount;
};