1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -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
@@ -96,3 +96,17 @@ PluginInstanceUI* SDRPlayPlugin::createSampleSourcePluginInstanceGUI(const QStri
return 0;
}
}
DeviceSampleSource *SDRPlayPlugin::createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI)
{
if (sourceId == m_deviceTypeID)
{
SDRPlayInput* input = new SDRPlayInput(deviceAPI);
return input;
}
else
{
return 0;
}
}