1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Basic MSI support.

This commit is contained in:
hexameron
2015-05-17 16:48:51 +00:00
parent bce4aff21d
commit 95fe79650c
3 changed files with 31 additions and 27 deletions
+3 -3
View File
@@ -122,7 +122,8 @@ const QString& V4LInput::getDeviceDescription() const
int V4LInput::getSampleRate() const
{
int result = SAMPLERATE / 4;
// The output rate is lower than the device rate
int result = SAMPLERATE / 2;
return result;
}
@@ -153,8 +154,7 @@ void V4LInput::applySettings(const GeneralSettings& generalSettings, const Setti
}
if((m_generalSettings.m_centerFrequency != generalSettings.m_centerFrequency) || force) {
m_V4LThread->set_center_freq( (double)(generalSettings.m_centerFrequency
+ (SAMPLERATE / 4) ));
m_V4LThread->set_center_freq( (double)generalSettings.m_centerFrequency );
}
m_generalSettings.m_centerFrequency = generalSettings.m_centerFrequency;
#if 0