1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-03 13:35:28 -05:00

FileSource: put center frequency and sample rate in the settings structure

This commit is contained in:
f4exb 2017-12-24 11:36:38 +01:00
parent 8e07820e8e
commit 063eff4204
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ FileSourceSettings::FileSourceSettings()
void FileSourceSettings::resetToDefaults() void FileSourceSettings::resetToDefaults()
{ {
m_centerFrequency = 435000000;
m_sampleRate = 48000;
m_fileName = "./test.sdriq"; m_fileName = "./test.sdriq";
} }

View File

@ -21,6 +21,8 @@
#include <QByteArray> #include <QByteArray>
struct FileSourceSettings { struct FileSourceSettings {
quint64 m_centerFrequency;
qint32 m_sampleRate;
QString m_fileName; QString m_fileName;
FileSourceSettings(); FileSourceSettings();