mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
FileSource: put center frequency and sample rate in the settings structure
This commit is contained in:
parent
8e07820e8e
commit
063eff4204
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user