mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
New features + waterfall code cleanup
This commit is contained in:
@ -45,7 +45,7 @@ public:
|
||||
WeatherSatDecoderModule(std::string name) {
|
||||
this->name = name;
|
||||
|
||||
vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 1000000, 1000000, 1);
|
||||
vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 1000000, 1000000, 1000000, 1000000, true);
|
||||
|
||||
decoders["NOAA HRPT"] = new NOAAHRPTDecoder(vfo, name);
|
||||
|
||||
@ -68,7 +68,7 @@ public:
|
||||
}
|
||||
|
||||
void enable() {
|
||||
vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 1000000, 1000000, 1);
|
||||
vfo = sigpath::vfoManager.createVFO(name, ImGui::WaterfallVFO::REF_CENTER, 0, 1000000, 1000000, 1000000, 1000000, true);
|
||||
for (auto const& [name, dec] : decoders) { dec->setVFO(vfo); }
|
||||
decoder->select();
|
||||
decoder->start();
|
||||
|
@ -72,6 +72,7 @@ public:
|
||||
void select() {
|
||||
_vfo->setSampleRate(NOAA_HRPT_VFO_SR, NOAA_HRPT_VFO_BW);
|
||||
_vfo->setReference(ImGui::WaterfallVFO::REF_CENTER);
|
||||
_vfo->setBandwidthLimits(NOAA_HRPT_VFO_BW, NOAA_HRPT_VFO_BW, true);
|
||||
};
|
||||
|
||||
void start() {
|
||||
|
Reference in New Issue
Block a user