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

Consistant Waterfall speed.

Saves cpu at high bandwidths.
This commit is contained in:
Hexameron
2014-05-19 15:22:44 +01:00
parent fbef672cd0
commit 82047f69ce
4 changed files with 15 additions and 63 deletions
@@ -185,6 +185,12 @@ 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;