1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 06:54:39 -04:00

LimeSDR input: corrected getSampleRate not to divide source sample rate by hardware decimation

This commit is contained in:
f4exb
2017-04-19 00:00:47 +02:00
parent 763175ab55
commit 3621849027
3 changed files with 3 additions and 3 deletions
@@ -239,7 +239,7 @@ const QString& LimeSDRInput::getDeviceDescription() const
int LimeSDRInput::getSampleRate() const
{
int rate = m_settings.m_devSampleRate;
return (rate / (1<<(m_settings.m_log2HardDecim + m_settings.m_log2SoftDecim)));
return (rate / (1<<m_settings.m_log2SoftDecim));
}
quint64 LimeSDRInput::getCenterFrequency() const