1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

Save/restore rollup state in channel plugins

This commit is contained in:
Jon Beniston
2021-11-24 09:50:42 +00:00
parent 4b80fbf337
commit 2e68017b12
132 changed files with 310 additions and 2 deletions
@@ -88,6 +88,7 @@ QByteArray DATVModSettings::serialize() const
s.writeU32(26, m_reverseAPIDeviceIndex);
s.writeU32(27, m_reverseAPIChannelIndex);
s.writeS32(28, m_streamIndex);
s.writeBlob(29, m_rollupState);
return s.final();
}
@@ -149,6 +150,7 @@ bool DATVModSettings::deserialize(const QByteArray& data)
d.readU32(27, &utmp, 0);
m_reverseAPIChannelIndex = utmp > 99 ? 99 : utmp;
d.readS32(28, &m_streamIndex, 0);
d.readBlob(29, &m_rollupState);
return true;
}