@ -32,8 +32,6 @@ SWGRemoteOutputSettings::SWGRemoteOutputSettings() {
@@ -32,8 +32,6 @@ SWGRemoteOutputSettings::SWGRemoteOutputSettings() {
m_center_frequency_isSet = false ;
sample_rate = 0 ;
m_sample_rate_isSet = false ;
tx_delay = 0.0f ;
m_tx_delay_isSet = false ;
nb_fec_blocks = 0 ;
m_nb_fec_blocks_isSet = false ;
api_address = nullptr ;
@ -68,8 +66,6 @@ SWGRemoteOutputSettings::init() {
@@ -68,8 +66,6 @@ SWGRemoteOutputSettings::init() {
m_center_frequency_isSet = false ;
sample_rate = 0 ;
m_sample_rate_isSet = false ;
tx_delay = 0.0f ;
m_tx_delay_isSet = false ;
nb_fec_blocks = 0 ;
m_nb_fec_blocks_isSet = false ;
api_address = new QString ( " " ) ;
@ -99,7 +95,6 @@ SWGRemoteOutputSettings::cleanup() {
@@ -99,7 +95,6 @@ SWGRemoteOutputSettings::cleanup() {
if ( api_address ! = nullptr ) {
delete api_address ;
}
@ -133,8 +128,6 @@ SWGRemoteOutputSettings::fromJsonObject(QJsonObject &pJson) {
@@ -133,8 +128,6 @@ SWGRemoteOutputSettings::fromJsonObject(QJsonObject &pJson) {
: : SWGSDRangel : : setValue ( & sample_rate , pJson [ " sampleRate " ] , " qint32 " , " " ) ;
: : SWGSDRangel : : setValue ( & tx_delay , pJson [ " txDelay " ] , " float " , " " ) ;
: : SWGSDRangel : : setValue ( & nb_fec_blocks , pJson [ " nbFECBlocks " ] , " qint32 " , " " ) ;
: : SWGSDRangel : : setValue ( & api_address , pJson [ " apiAddress " ] , " QString " , " QString " ) ;
@ -179,9 +172,6 @@ SWGRemoteOutputSettings::asJsonObject() {
@@ -179,9 +172,6 @@ SWGRemoteOutputSettings::asJsonObject() {
if ( m_sample_rate_isSet ) {
obj - > insert ( " sampleRate " , QJsonValue ( sample_rate ) ) ;
}
if ( m_tx_delay_isSet ) {
obj - > insert ( " txDelay " , QJsonValue ( tx_delay ) ) ;
}
if ( m_nb_fec_blocks_isSet ) {
obj - > insert ( " nbFECBlocks " , QJsonValue ( nb_fec_blocks ) ) ;
}
@ -239,16 +229,6 @@ SWGRemoteOutputSettings::setSampleRate(qint32 sample_rate) {
@@ -239,16 +229,6 @@ SWGRemoteOutputSettings::setSampleRate(qint32 sample_rate) {
this - > m_sample_rate_isSet = true ;
}
float
SWGRemoteOutputSettings : : getTxDelay ( ) {
return tx_delay ;
}
void
SWGRemoteOutputSettings : : setTxDelay ( float tx_delay ) {
this - > tx_delay = tx_delay ;
this - > m_tx_delay_isSet = true ;
}
qint32
SWGRemoteOutputSettings : : getNbFecBlocks ( ) {
return nb_fec_blocks ;
@ -370,9 +350,6 @@ SWGRemoteOutputSettings::isSet(){
@@ -370,9 +350,6 @@ SWGRemoteOutputSettings::isSet(){
if ( m_sample_rate_isSet ) {
isObjectUpdated = true ; break ;
}
if ( m_tx_delay_isSet ) {
isObjectUpdated = true ; break ;
}
if ( m_nb_fec_blocks_isSet ) {
isObjectUpdated = true ; break ;
}