Add new processing for D-Star Fast Data which doesn't clobber normal

D-Star audio.
This commit is contained in:
Jonathan Naylor
2025-03-12 12:55:25 +00:00
parent 351c1199fb
commit 78fc96b0a5
12 changed files with 259 additions and 113 deletions

View File

@@ -161,6 +161,7 @@ m_dmrCallHang(10U),
m_dmrTXHang(4U),
m_dmrModeHang(10U),
m_dmrOVCM(DMR_OVCM_OFF),
m_dmrProtect(false),
m_fusionEnabled(false),
m_fusionLowDeviation(false),
m_fusionRemoteGateway(false),
@@ -753,7 +754,8 @@ bool CConf::read()
m_dmrOVCM = DMR_OVCM_OFF;
break;
}
}
} else if (::strcmp(key, "Protect") == 0)
m_dmrProtect = ::atoi(value) == 1;
} else if (section == SECTION_FUSION) {
if (::strcmp(key, "Enable") == 0)
m_fusionEnabled = ::atoi(value) == 1;
@@ -1643,6 +1645,11 @@ DMR_OVCM_TYPES CConf::getDMROVCM() const
return m_dmrOVCM;
}
bool CConf::getDMRProtect() const
{
return m_dmrProtect;
}
bool CConf::getFusionEnabled() const
{
return m_fusionEnabled;