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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user