1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

XTRX input: implemented baseband or device sample rate input option

This commit is contained in:
f4exb
2019-04-10 23:40:45 +02:00
parent c94b7ccbe2
commit dc519fbda7
9 changed files with 104 additions and 18 deletions
@@ -57,6 +57,7 @@ private:
DeviceUISet* m_deviceUISet;
XTRXInput* m_XTRXInput; //!< Same object as above but gives easy access to XTRXInput methods and attributes that are used intensively
XTRXInputSettings m_settings;
bool m_sampleRateMode; //!< true: device, false: base band sample rate update mode
QTimer m_updateTimer;
QTimer m_statusTimer;
int m_sampleRate;
@@ -69,6 +70,7 @@ private:
MessageQueue m_inputMessageQueue;
void displaySettings();
void displaySampleRate();
void setNCODisplay();
void setCenterFrequencyDisplay();
void setCenterFrequencySetting(uint64_t kHzValue);
@@ -98,6 +100,7 @@ private slots:
void on_antenna_currentIndexChanged(int index);
void on_extClock_clicked();
void on_pwrmode_currentIndexChanged(int index);
void on_sampleRateMode_toggled(bool checked);
void updateHardware();
void updateStatus();