aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Lime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/Lime.h')
-rw-r--r--src/output/Lime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/output/Lime.h b/src/output/Lime.h
index 89f3b7e..8658053 100644
--- a/src/output/Lime.h
+++ b/src/output/Lime.h
@@ -39,6 +39,7 @@ DESCRIPTION:
#ifdef HAVE_LIMESDR
+#include <atomic>
#include <string>
#include <memory>
@@ -90,6 +91,8 @@ class Lime : public Output::SDRDevice
size_t m_interpolate = 1;
std::vector<complexf> interpolatebuf;
+ std::atomic<uint32_t> m_last_fifo_filled_count = ATOMIC_VAR_INIT(0);
+
size_t underflows = 0;
size_t overflows = 0;
size_t late_packets = 0;