1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 13:04:17 -04:00

DV Serial support: working signal/slot mechanism

This commit is contained in:
f4exb
2016-05-08 06:00:37 +02:00
parent 0de9b7eeab
commit be1a4caae1
11 changed files with 556 additions and 12 deletions
+15
View File
@@ -154,3 +154,18 @@ QString DSPEngine::sourceDeviceDescription()
{
return m_deviceEngine->sourceDeviceDescription();
}
void DSPEngine::setDVSerialSupport(bool support)
{
#ifdef DSD_USE_SERIALDV
if (support)
{
m_dvSerialSupport = m_dvSerialEngine.scan();
}
else
{
m_dvSerialEngine.release();
m_dvSerialSupport = false;
}
#endif
}