mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 04:17:50 +02:00
random bug fixes
This commit is contained in:
@ -159,10 +159,10 @@ void windowInit() {
|
||||
displaymenu::init();
|
||||
|
||||
// TODO for 0.2.5
|
||||
// Add "select folder" option for the file source
|
||||
// Add "select file" option for the file source
|
||||
// Add default main config to avoid having to ship one
|
||||
// Have a good directory system on both linux and windows (should fix occassional underruns)
|
||||
// Switch to double buffering
|
||||
// Have a good directory system on both linux and windows
|
||||
// Switch to double buffering (should fix occassional underruns)
|
||||
// Fix gain not updated on startup, soapysdr
|
||||
// Fix memory leak when enabling and disabling repeatedly
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define WATERFALL_RESOLUTION 1000000
|
||||
|
||||
namespace ImGui {
|
||||
|
||||
class WaterfallVFO {
|
||||
public:
|
||||
void setOffset(double offset);
|
||||
|
@ -60,7 +60,6 @@ dsp::VFO* SignalPath::addVFO(std::string name, double outSampleRate, double band
|
||||
if (vfos.find(name) != vfos.end()) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
VFO_t vfo;
|
||||
vfo.inputStream = new dsp::stream<dsp::complex_t>;
|
||||
split.bindStream(vfo.inputStream);
|
||||
@ -74,7 +73,6 @@ dsp::VFO* SignalPath::addVFO(std::string name, double outSampleRate, double band
|
||||
void SignalPath::removeVFO(std::string name) {
|
||||
if (vfos.find(name) == vfos.end()) {
|
||||
return;
|
||||
|
||||
}
|
||||
VFO_t vfo = vfos[name];
|
||||
vfo.vfo->stop();
|
||||
|
@ -80,8 +80,8 @@ void VFOManager::deleteVFO(VFOManager::VFO* vfo) {
|
||||
if (name == "") {
|
||||
return;
|
||||
}
|
||||
delete vfo;
|
||||
vfos.erase(name);
|
||||
delete vfo;
|
||||
}
|
||||
|
||||
void VFOManager::setOffset(std::string name, double offset) {
|
||||
|
Reference in New Issue
Block a user