aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Lime.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-03-12 15:28:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-03-12 15:28:07 +0100
commitf656ba53cd6ad89d583f39a982390504a1ec6a94 (patch)
tree31a4aa30ec6d2fdd7f2c940e3ed6122769018aff /src/output/Lime.h
parent705ae30e5f7cc2525627f338beef8c90a8678c2f (diff)
downloaddabmod-f656ba53cd6ad89d583f39a982390504a1ec6a94.tar.gz
dabmod-f656ba53cd6ad89d583f39a982390504a1ec6a94.tar.bz2
dabmod-f656ba53cd6ad89d583f39a982390504a1ec6a94.zip
Lime: do not check fifoFilledCount before sending
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;