Added samplerate and center frequency tracking to http spectran source

This commit is contained in:
AlexandreRouma
2023-04-20 08:32:31 +02:00
parent 9c0b57a036
commit 582aeed640
4 changed files with 28 additions and 5 deletions

View File

@@ -19,6 +19,7 @@ public:
void setCenterFrequency(uint64_t freq);
NewEvent<uint64_t> onCenterFrequencyChanged;
NewEvent<uint64_t> onSamplerateChanged;
private:
void worker();
@@ -33,5 +34,5 @@ private:
bool streamingEnabled = false;
int64_t _centerFreq = 0;
uint64_t _span = 5000000;
uint64_t _samplerate = 0;
};