diff --git a/plugins/samplesource/filesource/filesourcesettings.cpp b/plugins/samplesource/filesource/filesourcesettings.cpp index 327d84e3c..f08701703 100644 --- a/plugins/samplesource/filesource/filesourcesettings.cpp +++ b/plugins/samplesource/filesource/filesourcesettings.cpp @@ -25,6 +25,8 @@ FileSourceSettings::FileSourceSettings() void FileSourceSettings::resetToDefaults() { + m_centerFrequency = 435000000; + m_sampleRate = 48000; m_fileName = "./test.sdriq"; } diff --git a/plugins/samplesource/filesource/filesourcesettings.h b/plugins/samplesource/filesource/filesourcesettings.h index 2e151a6cb..8bcc065f5 100644 --- a/plugins/samplesource/filesource/filesourcesettings.h +++ b/plugins/samplesource/filesource/filesourcesettings.h @@ -21,6 +21,8 @@ #include struct FileSourceSettings { + quint64 m_centerFrequency; + qint32 m_sampleRate; QString m_fileName; FileSourceSettings();