mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Remove the FM networking sample rate conversion.
This commit is contained in:
parent
a5ee4284f2
commit
cfe9e0fba4
6 changed files with 13 additions and 184 deletions
10
Conf.cpp
10
Conf.cpp
|
|
@ -283,12 +283,11 @@ m_pocsagLocalPort(0U),
|
|||
m_pocsagNetworkModeHang(3U),
|
||||
m_pocsagNetworkDebug(false),
|
||||
m_fmNetworkEnabled(false),
|
||||
m_fmNetworkProtocol("MMDVM"),
|
||||
m_fmNetworkProtocol("USRP"),
|
||||
m_fmGatewayAddress(),
|
||||
m_fmGatewayPort(0U),
|
||||
m_fmLocalAddress(),
|
||||
m_fmLocalPort(0U),
|
||||
m_fmSampleRate(8000U),
|
||||
m_fmPreEmphasis(true),
|
||||
m_fmDeEmphasis(true),
|
||||
m_fmTXAudioGain(1.0F),
|
||||
|
|
@ -1013,8 +1012,6 @@ bool CConf::read()
|
|||
m_fmGatewayAddress = value;
|
||||
else if (::strcmp(key, "GatewayPort") == 0)
|
||||
m_fmGatewayPort = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "SampleRate") == 0)
|
||||
m_fmSampleRate = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "PreEmphasis") == 0)
|
||||
m_fmPreEmphasis = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "DeEmphasis") == 0)
|
||||
|
|
@ -2237,11 +2234,6 @@ unsigned int CConf::getFMLocalPort() const
|
|||
return m_fmLocalPort;
|
||||
}
|
||||
|
||||
unsigned int CConf::getFMSampleRate() const
|
||||
{
|
||||
return m_fmSampleRate;
|
||||
}
|
||||
|
||||
bool CConf::getFMPreEmphasis() const
|
||||
{
|
||||
return m_fmPreEmphasis;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue