1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-31 15:07:12 -04:00
sdrangel/sdrbase/plugin/plugininterface.cpp

21 lines
517 B
C++

#include "dsp/devicesamplesource.h"
#include "dsp/devicesamplesink.h"
#include "dsp/devicesamplemimo.h"
#include "plugin/plugininterface.h"
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
{
if (source) { source->destroy(); }
}
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
{
if (sink) { sink->destroy(); }
}
void PluginInterface::deleteSampleMIMOPluginInstanceMIMO(DeviceSampleMIMO *mimo)
{
if (mimo) { mimo->destroy(); }
}