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
1 changed files with 1 additions and 1 deletions

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)
{