diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-12 15:28:07 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-03-12 15:28:07 +0100 |
commit | f656ba53cd6ad89d583f39a982390504a1ec6a94 (patch) | |
tree | 31a4aa30ec6d2fdd7f2c940e3ed6122769018aff /src/output/Lime.h | |
parent | 705ae30e5f7cc2525627f338beef8c90a8678c2f (diff) | |
download | dabmod-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.h | 3 |
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; |