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

@ -88,15 +88,16 @@ public:
config.release(true);
selectByName(selectedDevName);
core::setInputSampleRate(sampleRate);
sigpath::sourceManager.registerSource("RTL-SDR", &handler);
}
~RTLSDRSourceModule() {
stop(this);
sigpath::sourceManager.unregisterSource("RTL-SDR");
}
void postInit() {}
void enable() {
enabled = true;
}