diff --git a/sdrbase/channel/channelapi.cpp b/sdrbase/channel/channelapi.cpp index 54cddb6b9..8df494a05 100644 --- a/sdrbase/channel/channelapi.cpp +++ b/sdrbase/channel/channelapi.cpp @@ -21,6 +21,7 @@ #include "channelapi.h" ChannelAPI::ChannelAPI(const QString& name, StreamType streamType) : + m_featuresSettingsFeedbackBlockCount(0), m_streamType(streamType), m_name(name), m_indexInDeviceSet(-1), diff --git a/sdrbase/channel/channelapi.h b/sdrbase/channel/channelapi.h index f0bde4a02..5d18a557e 100644 --- a/sdrbase/channel/channelapi.h +++ b/sdrbase/channel/channelapi.h @@ -122,6 +122,7 @@ public: // Features support void addFeatureSettingsFeedback(Feature *feature); void removeFeatureSettingsFeedback(Feature *feature); + void setFeatureSettingsFeedbackBlockCount(unsigned int count) { m_featuresSettingsFeedbackBlockCount = count; } // MIMO support StreamType getStreamType() const { return m_streamType; } @@ -131,6 +132,7 @@ public: protected: QList m_featuresSettingsFeedback; //!< list of features to report back settings changes in swagger API format + unsigned int m_featuresSettingsFeedbackBlockCount; //!< actually send feedback if 0. Decremented at each potential feedback private: StreamType m_streamType;