SDRPlusPlus/core/src/gui/tuner.h

20 lines
466 B
C
Raw Normal View History

2021-06-20 21:17:11 +02:00
#pragma once
#include <string>
#include <module.h>
2021-06-20 21:17:11 +02:00
namespace tuner {
void centerTuning(std::string vfoName, double freq);
void normalTuning(std::string vfoName, double freq);
void iqTuning(double freq);
2021-06-20 21:17:11 +02:00
enum {
TUNER_MODE_CENTER,
TUNER_MODE_NORMAL,
TUNER_MODE_LOWER_HALF,
TUNER_MODE_UPPER_HALF,
TUNER_MODE_IQ_ONLY,
2021-06-20 21:17:11 +02:00
_TUNER_MODE_COUNT
};
void tune(int mode, std::string vfoName, double freq);
}