1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-30 08:46:46 -04:00

ATV Demod: use rational decimator only as a filter with ratio 1.0 since code is not capable of handling a different sample rate from the main channel sample rate

This commit is contained in:
f4exb 2017-04-07 01:39:27 +02:00
parent b486f63cb5
commit 58cc1d4438

View File

@ -538,7 +538,7 @@ void ATVDemod::applySettings()
{
m_objSettingsMutex.lock();
m_objConfigPrivate.m_intTVSampleRate = (m_objConfig.m_intSampleRate / 500000) * 500000; // make sure working sample rate is a multiple of rate units
m_objConfigPrivate.m_intTVSampleRate = m_objConfig.m_intSampleRate;
if (m_objConfigPrivate.m_intTVSampleRate > 0)
{