1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Input core creation method implementation in all source plugins

This commit is contained in:
f4exb
2017-09-14 13:34:32 +02:00
parent 25c150c3c5
commit aa5c6c59a5
28 changed files with 174 additions and 19 deletions
@@ -129,3 +129,16 @@ bool LimeSDRInputPlugin::findSerial(const char *lmsInfoStr, std::string& serial)
}
}
DeviceSampleSource *LimeSDRInputPlugin::createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI)
{
if (sourceId == m_deviceTypeID)
{
LimeSDRInput* input = new LimeSDRInput(deviceAPI);
return input;
}
else
{
return 0;
}
}