Added SNR meter

This commit is contained in:
Ryzerth
2021-04-30 04:28:08 +02:00
parent 3e79d4dfad
commit 96f83ee55c
5 changed files with 123 additions and 4 deletions

View File

@ -133,6 +133,8 @@ namespace ImGui {
bool mouseInFFT = false;
bool mouseInWaterfall = false;
float selectedVFOSNR = NAN;
std::map<std::string, WaterfallVFO*> vfos;
std::string selectedVFO = "";
bool selectedVFOChanged = false;
@ -162,6 +164,7 @@ namespace ImGui {
void updateWaterfallFb();
void updateWaterfallTexture();
void updateAllVFOs();
bool calculateVFOSignalInfo(WaterfallVFO* vfo, float& strength, float& snr);
bool waterfallUpdate = false;