mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 20:37:50 +02:00
more bugfix
This commit is contained in:
@ -156,11 +156,13 @@ public:
|
||||
// core::setInputSampleRate(sampleRate);
|
||||
|
||||
sigpath::sourceManager.registerSource("SDRplay", &handler);
|
||||
|
||||
initOk = true;
|
||||
}
|
||||
|
||||
~SDRPlaySourceModule() {
|
||||
stop(this);
|
||||
sdrplay_api_Close();
|
||||
if (initOk) { sdrplay_api_Close(); }
|
||||
sigpath::sourceManager.unregisterSource("SDRplay");
|
||||
}
|
||||
|
||||
@ -943,6 +945,7 @@ private:
|
||||
SourceManager::SourceHandler handler;
|
||||
bool running = false;
|
||||
double freq;
|
||||
bool initOk = false;
|
||||
|
||||
sdrplay_api_CallbackFnsT cbFuncs;
|
||||
|
||||
|
Reference in New Issue
Block a user