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

Rework decimation.

This commit is contained in:
Hexameron
2014-05-28 19:13:09 +01:00
parent aaef1678ad
commit 444e8ed857
9 changed files with 25 additions and 97 deletions
@@ -185,12 +185,6 @@ int RTLSDRInput::getSampleRate() const
return 1536000 / (1 << m_settings.m_decimation);
}
int RTLSDRInput::wfdecimation() const
{
// decimate waterfall more when downsampling less
return (1 << (4 - m_settings.m_decimation) ) -1;
}
quint64 RTLSDRInput::getCenterFrequency() const
{
return m_generalSettings.m_centerFrequency;