diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-29 16:30:06 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-29 17:09:21 +0200 |
commit | fd46d43f51796a6bbdd629e08535bacbc853f283 (patch) | |
tree | 832f0a36a2d54c0dba23b59297d6894c8d9a6edc /src/output/Soapy.h | |
parent | efea1c485f178cdbadf5babdf7951e6d1a1ed801 (diff) | |
download | dabmod-fd46d43f51796a6bbdd629e08535bacbc853f283.tar.gz dabmod-fd46d43f51796a6bbdd629e08535bacbc853f283.tar.bz2 dabmod-fd46d43f51796a6bbdd629e08535bacbc853f283.zip |
Replace RunStatistics to permit representation of SDR device specific stats
Diffstat (limited to 'src/output/Soapy.h')
-rw-r--r-- | src/output/Soapy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/Soapy.h b/src/output/Soapy.h index f3e1ee2..b98ac21 100644 --- a/src/output/Soapy.h +++ b/src/output/Soapy.h @@ -66,7 +66,7 @@ class Soapy : public Output::SDRDevice virtual void set_bandwidth(double bandwidth) override; virtual double get_bandwidth(void) const override; virtual void transmit_frame(struct FrameData&& frame) override; - virtual RunStatistics get_run_statistics(void) const override; + virtual run_statistics_t get_run_statistics(void) const override; virtual double get_real_secs(void) const override; virtual void set_rxgain(double rxgain) override; @@ -81,7 +81,7 @@ class Soapy : public Output::SDRDevice virtual bool is_clk_source_ok(void) const override; virtual const char* device_name(void) const override; - virtual double get_temperature(void) const override; + virtual std::optional<double> get_temperature(void) const override; private: SDRDeviceConfig& m_conf; @@ -91,9 +91,9 @@ class Soapy : public Output::SDRDevice SoapySDR::Stream *m_rx_stream = nullptr; bool m_rx_stream_active = false; + size_t timeouts = 0; size_t underflows = 0; size_t overflows = 0; - size_t late_packets = 0; size_t num_frames_modulated = 0; }; |