summaryrefslogtreecommitdiffstats
path: root/src/output/Lime.h
diff options
context:
space:
mode:
authorF5OEO <evaristec@gmail.com>2018-12-11 17:12:25 +0000
committerF5OEO <evaristec@gmail.com>2018-12-11 17:12:25 +0000
commita91bb4387b1254e56de2ff64b2db3cda3d0a08e0 (patch)
treef5f06bb6fd38beb1ae960ed559992abc324da5b5 /src/output/Lime.h
parentf60ba388a646032cbfdcad3c723d1e457cc4457e (diff)
downloaddabmod-a91bb4387b1254e56de2ff64b2db3cda3d0a08e0.tar.gz
dabmod-a91bb4387b1254e56de2ff64b2db3cda3d0a08e0.tar.bz2
dabmod-a91bb4387b1254e56de2ff64b2db3cda3d0a08e0.zip
Add FIR processing with upsampling
Diffstat (limited to 'src/output/Lime.h')
-rw-r--r--src/output/Lime.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/output/Lime.h b/src/output/Lime.h
index 7ab4aca..2b5c80c 100644
--- a/src/output/Lime.h
+++ b/src/output/Lime.h
@@ -32,7 +32,7 @@ DESCRIPTION:
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-
+//#define HAVE_LIMESDR
#ifdef HAVE_LIMESDR
#include <string>
@@ -84,9 +84,10 @@ class Lime : public Output::SDRDevice
SoapySDR::Device *m_device = nullptr;
SoapySDR::Stream *m_tx_stream = nullptr;
*/
- lms_stream_t m_tx_stream;
+ lms_stream_t m_tx_stream;
bool m_tx_stream_active = false;
-
+ size_t m_interpolate=1;
+ complexf *interpolatebuf=nullptr;
size_t underflows = 0;
size_t overflows = 0;