1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00
sdrangel/sdrbase/plugin/plugininterface.cpp

21 lines
517 B
C++
Raw Normal View History

#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(); }
}