Fixed support in the module manager

This commit is contained in:
Ryzerth
2021-07-26 03:11:51 +02:00
parent b327bfbe5d
commit 85de72a859
37 changed files with 369 additions and 138 deletions

View File

@ -44,15 +44,17 @@ public:
// Select device from config
selectFirst();
core::setInputSampleRate(sampleRate);
sigpath::sourceManager.registerSource("LimeSDR", &handler);
}
~LimeSDRSourceModule() {
// Exit limesuite if needed
stop(this);
sigpath::sourceManager.unregisterSource("LimeSDR");
}
void postInit() {}
void enable() {
enabled = true;
}