|
|
|
|
@ -7,7 +7,7 @@
@@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
const PluginDescriptor NFMPlugin::m_pluginDescriptor = { |
|
|
|
|
QString("NFM Demodulator"), |
|
|
|
|
QString("3.8.5"), |
|
|
|
|
QString("3.9.0"), |
|
|
|
|
QString("(c) Edouard Griffiths, F4EXB"), |
|
|
|
|
QString("https://github.com/f4exb/sdrangel"), |
|
|
|
|
true, |
|
|
|
|
@ -33,6 +33,15 @@ void NFMPlugin::initPlugin(PluginAPI* pluginAPI)
@@ -33,6 +33,15 @@ void NFMPlugin::initPlugin(PluginAPI* pluginAPI)
|
|
|
|
|
m_pluginAPI->registerRxChannel(NFMDemod::m_channelIdURI, NFMDemod::m_channelId, this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef SERVER_MODE |
|
|
|
|
PluginInstanceGUI* NFMPlugin::createRxChannelGUI( |
|
|
|
|
const QString& channelName __attribute__((unused)), |
|
|
|
|
DeviceUISet *deviceUISet __attribute__((unused)), |
|
|
|
|
BasebandSampleSink *rxChannel __attribute__((unused))) |
|
|
|
|
{ |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
#else |
|
|
|
|
PluginInstanceGUI* NFMPlugin::createRxChannelGUI(const QString& channelName, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
|
|
|
|
{ |
|
|
|
|
if(channelName == NFMDemod::m_channelIdURI) { |
|
|
|
|
@ -42,6 +51,7 @@ PluginInstanceGUI* NFMPlugin::createRxChannelGUI(const QString& channelName, Dev
@@ -42,6 +51,7 @@ PluginInstanceGUI* NFMPlugin::createRxChannelGUI(const QString& channelName, Dev
|
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
BasebandSampleSink* NFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI) |
|
|
|
|
{ |
|
|
|
|
|