1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-06-14 12:32:27 -04:00
sdrangel/plugins/channelrx/wdsprx/wdsprxsettings.cpp.rej
2024-07-11 21:25:53 +02:00

19 lines
1.0 KiB
Plaintext

--- plugins/channelrx/wdsprx/wdsprxsettings.cpp
+++ plugins/channelrx/wdsprx/wdsprxsettings.cpp
@@ -182,6 +184,7 @@ QByteArray WDSPRxSettings::serialize() const
s.writeDouble(127 + 50*i, m_profiles[i].m_nbAvgTime);
// Noise reduction
s.writeBool (130 + 50*i, m_profiles[i].m_dnr);
+ s.writeBool (131 + 50*i, m_profiles[i].m_snb);
s.writeBool (132 + 50*i, m_profiles[i].m_anf);
s.writeS32 (133 + 50*i, (int) m_profiles[i].m_nrScheme);
s.writeS32 (134 + 50*i, (int) m_profiles[i].m_nr2Gain);
@@ -329,6 +333,7 @@ bool WDSPRxSettings::deserialize(const QByteArray& data)
d.readDouble(127 + 50*i, &m_profiles[i].m_nbAvgTime, 50.0);
// Noise reduction
d.readBool (130 + 50*i, &m_profiles[i].m_dnr, false);
+ d.readBool (131 + 50*i, &m_profiles[i].m_snb, false);
d.readBool (132 + 50*i, &m_profiles[i].m_anf, false);
d.readS32 (133 + 50*i, &tmp);
m_profiles[i].m_nrScheme = (WDSPRxProfile::WDSPRxNRScheme) tmp;