diff options
author | F5OEO <evaristec@gmail.com> | 2018-12-10 19:51:44 +0000 |
---|---|---|
committer | F5OEO <evaristec@gmail.com> | 2018-12-10 19:51:44 +0000 |
commit | e904cf0165ee80989c6d86572684997109d21fa8 (patch) | |
tree | 78922727ea1f296f4e516a684545308f3866acc2 /src/output/Lime.h | |
parent | 352ee913f5cefc47d5cd1cf73b5b6a70b5369bef (diff) | |
download | dabmod-e904cf0165ee80989c6d86572684997109d21fa8.tar.gz dabmod-e904cf0165ee80989c6d86572684997109d21fa8.tar.bz2 dabmod-e904cf0165ee80989c6d86572684997109d21fa8.zip |
First working minimal live version
Diffstat (limited to 'src/output/Lime.h')
-rw-r--r-- | src/output/Lime.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/output/Lime.h b/src/output/Lime.h index 1770aaf..7ab4aca 100644 --- a/src/output/Lime.h +++ b/src/output/Lime.h @@ -79,13 +79,14 @@ class Lime : public Output::SDRDevice private: SDRDeviceConfig& m_conf; lms_device_t *m_device=nullptr; + size_t m_channel=0; // Should be set by config /* SoapySDR::Device *m_device = nullptr; SoapySDR::Stream *m_tx_stream = nullptr; - bool m_tx_stream_active = false; - SoapySDR::Stream *m_rx_stream = nullptr; */ - bool m_rx_stream_active = false; + lms_stream_t m_tx_stream; + bool m_tx_stream_active = false; + size_t underflows = 0; size_t overflows = 0; |