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