mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
DATV Demod: request channel sample rate twice the symbol rate not the whole baseband
This commit is contained in:
parent
fb3933c007
commit
be3802af68
@ -150,10 +150,12 @@ void DATVDemodBaseband::applySettings(const DATVDemodSettings& settings, bool fo
|
||||
{
|
||||
qDebug("DATVDemodBaseband::applySettings");
|
||||
|
||||
if ((settings.m_centerFrequency != m_settings.m_centerFrequency)|| force)
|
||||
if ((settings.m_centerFrequency != m_settings.m_centerFrequency) ||
|
||||
(settings.m_symbolRate != m_settings.m_symbolRate) || force)
|
||||
{
|
||||
unsigned int desiredSampleRate = m_channelizer->getBasebandSampleRate();
|
||||
unsigned int desiredSampleRate = 2 * settings.m_symbolRate; // m_channelizer->getBasebandSampleRate();
|
||||
m_channelizer->setChannelization(desiredSampleRate, settings.m_centerFrequency);
|
||||
m_sampleFifo.setSize(SampleSinkFifo::getSizePolicy(m_channelizer->getBasebandSampleRate()));
|
||||
m_sink.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user