mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-05 15:35:01 -04:00
Save waterfall / spectrum settings, update session reset
This commit is contained in:
@@ -34,6 +34,10 @@ void SpectrumVisualProcessor::setFFTAverageRate(float fftAverageRate) {
|
||||
this->fft_average_rate = fftAverageRate;
|
||||
}
|
||||
|
||||
float SpectrumVisualProcessor::getFFTAverageRate() {
|
||||
return this->fft_average_rate;
|
||||
}
|
||||
|
||||
void SpectrumVisualProcessor::setCenterFrequency(long long centerFreq_in) {
|
||||
centerFreq.store(centerFreq_in);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ public:
|
||||
void setView(bool bView);
|
||||
|
||||
void setFFTAverageRate(float fftAverageRate);
|
||||
float getFFTAverageRate();
|
||||
|
||||
void setCenterFrequency(long long centerFreq_in);
|
||||
long long getCenterFrequency();
|
||||
@@ -82,6 +83,9 @@ public:
|
||||
this->linesPerSecond = lines;
|
||||
}
|
||||
|
||||
int getLinesPerSecond() {
|
||||
return this->linesPerSecond;
|
||||
}
|
||||
protected:
|
||||
void process() {
|
||||
while (!input->empty()) {
|
||||
|
||||
Reference in New Issue
Block a user