1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Wider maximum waterfall bandwidth.

This commit is contained in:
John Greb
2014-11-24 11:01:07 +00:00
parent 1964946afe
commit ad68f6a06c
5 changed files with 28 additions and 43 deletions
+6 -4
View File
@@ -182,10 +182,12 @@ const QString& RTLSDRInput::getDeviceDescription() const
int RTLSDRInput::getSampleRate() const
{
int rate = m_settings.m_samplerate / 4;
if (rate < 200000)
return rate;
return (rate / 4);
int rate = m_settings.m_samplerate;
if (rate < 800000)
return (rate / 4);
if ((rate == 1152000) || (rate == 2048000))
return (rate / 8);
return (rate / 16);
}
quint64 RTLSDRInput::getCenterFrequency() const