mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Add the squelch file as needed by SVXLink.
This commit is contained in:
parent
b6269c73da
commit
3eb29a0bf5
7 changed files with 82 additions and 7 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -291,6 +291,7 @@ m_pocsagNetworkDebug(false),
|
|||
m_fmNetworkEnabled(false),
|
||||
m_fmNetworkProtocol("USRP"),
|
||||
m_fmNetworkSampleRate(48000U),
|
||||
m_fmNetworkSquelchFile(),
|
||||
m_fmGatewayAddress(),
|
||||
m_fmGatewayPort(0U),
|
||||
m_fmLocalAddress(),
|
||||
|
|
@ -1036,6 +1037,8 @@ bool CConf::read()
|
|||
m_fmNetworkProtocol = value;
|
||||
else if (::strcmp(key, "SampleRate") == 0)
|
||||
m_fmNetworkSampleRate = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "SquelchFile") == 0)
|
||||
m_fmNetworkSquelchFile = value;
|
||||
else if (::strcmp(key, "LocalAddress") == 0)
|
||||
m_fmLocalAddress = value;
|
||||
else if (::strcmp(key, "LocalPort") == 0)
|
||||
|
|
@ -2281,6 +2284,11 @@ unsigned int CConf::getFMNetworkSampleRate() const
|
|||
return m_fmNetworkSampleRate;
|
||||
}
|
||||
|
||||
std::string CConf::getFMNetworkSquelchFile() const
|
||||
{
|
||||
return m_fmNetworkSquelchFile;
|
||||
}
|
||||
|
||||
std::string CConf::getFMGatewayAddress() const
|
||||
{
|
||||
return m_fmGatewayAddress;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue