diff --git a/sdrbase/resources/index.html b/sdrbase/resources/index.html index 4b2549323..74caa7202 100644 --- a/sdrbase/resources/index.html +++ b/sdrbase/resources/index.html @@ -1299,9 +1299,6 @@ margin-bottom: 20px; }; defs.NFMDemodSettings = { "properties" : { - "inputSampleRate" : { - "type" : "integer" - }, "inputFrequencyOffset" : { "type" : "integer", "format" : "int64" @@ -16391,7 +16388,7 @@ except ApiException as e:
- Generated 2017-12-29T01:07:32.200+01:00 + Generated 2017-12-29T05:27:24.640+01:00
diff --git a/swagger/sdrangel/api/swagger/include/NFMDemod.yaml b/swagger/sdrangel/api/swagger/include/NFMDemod.yaml index ea36fcfca..e644936fe 100644 --- a/swagger/sdrangel/api/swagger/include/NFMDemod.yaml +++ b/swagger/sdrangel/api/swagger/include/NFMDemod.yaml @@ -1,8 +1,6 @@ NFMDemodSettings: description: NFMDemod properties: - inputSampleRate: - type: integer inputFrequencyOffset: type: integer format: int64 diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index 4b2549323..74caa7202 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -1299,9 +1299,6 @@ margin-bottom: 20px; }; defs.NFMDemodSettings = { "properties" : { - "inputSampleRate" : { - "type" : "integer" - }, "inputFrequencyOffset" : { "type" : "integer", "format" : "int64" @@ -16391,7 +16388,7 @@ except ApiException as e:
- Generated 2017-12-29T01:07:32.200+01:00 + Generated 2017-12-29T05:27:24.640+01:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.cpp index 1099e7dca..86b158421 100644 --- a/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.cpp @@ -37,7 +37,6 @@ SWGNFMDemodSettings::~SWGNFMDemodSettings() { void SWGNFMDemodSettings::init() { - input_sample_rate = 0; input_frequency_offset = 0L; rf_bandwidth = 0.0f; af_bandwidth = 0.0f; @@ -73,7 +72,6 @@ SWGNFMDemodSettings::cleanup() { - if(udp_address != nullptr) { delete udp_address; } @@ -96,7 +94,6 @@ SWGNFMDemodSettings::fromJson(QString &json) { void SWGNFMDemodSettings::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&input_sample_rate, pJson["inputSampleRate"], "qint32", ""); ::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", ""); ::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", ""); ::SWGSDRangel::setValue(&af_bandwidth, pJson["afBandwidth"], "float", ""); @@ -130,8 +127,6 @@ QJsonObject* SWGNFMDemodSettings::asJsonObject() { QJsonObject* obj = new QJsonObject(); - obj->insert("inputSampleRate", QJsonValue(input_sample_rate)); - obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset)); obj->insert("rfBandwidth", QJsonValue(rf_bandwidth)); @@ -169,15 +164,6 @@ SWGNFMDemodSettings::asJsonObject() { return obj; } -qint32 -SWGNFMDemodSettings::getInputSampleRate() { - return input_sample_rate; -} -void -SWGNFMDemodSettings::setInputSampleRate(qint32 input_sample_rate) { - this->input_sample_rate = input_sample_rate; -} - qint64 SWGNFMDemodSettings::getInputFrequencyOffset() { return input_frequency_offset; diff --git a/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.h b/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.h index 90f8e4d24..f54886ba9 100644 --- a/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGNFMDemodSettings.h @@ -42,9 +42,6 @@ public: void fromJsonObject(QJsonObject &json); SWGNFMDemodSettings* fromJson(QString &jsonString); - qint32 getInputSampleRate(); - void setInputSampleRate(qint32 input_sample_rate); - qint64 getInputFrequencyOffset(); void setInputFrequencyOffset(qint64 input_frequency_offset); @@ -98,7 +95,6 @@ public: private: - qint32 input_sample_rate; qint64 input_frequency_offset; float rf_bandwidth; float af_bandwidth;