mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
SoapySDR support: device arg GUI
This commit is contained in:
@@ -72,6 +72,7 @@ QByteArray SoapySDRInputSettings::serialize() const
|
||||
s.writeDouble(19, m_iqCorrection.real());
|
||||
s.writeDouble(20, m_iqCorrection.imag());
|
||||
s.writeBlob(21, serializeArgumentMap(m_streamArgSettings));
|
||||
s.writeBlob(22, serializeArgumentMap(m_deviceArgSettings));
|
||||
|
||||
return s.final();
|
||||
}
|
||||
@@ -119,6 +120,8 @@ bool SoapySDRInputSettings::deserialize(const QByteArray& data)
|
||||
m_iqCorrection = std::complex<double>{realval, imagval};
|
||||
d.readBlob(21, &blob);
|
||||
deserializeArgumentMap(blob, m_streamArgSettings);
|
||||
d.readBlob(22, &blob);
|
||||
deserializeArgumentMap(blob, m_deviceArgSettings);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user