2017-09-25 18:22:08 -04:00
|
|
|
#include <plugin/plugininstancegui.h>
|
2017-09-16 04:45:08 -04:00
|
|
|
#include "dsp/devicesamplesource.h"
|
2017-09-16 05:34:25 -04:00
|
|
|
#include "dsp/devicesamplesink.h"
|
2014-05-18 11:52:39 -04:00
|
|
|
#include "plugin/plugininterface.h"
|
2017-09-16 04:45:08 -04:00
|
|
|
|
|
|
|
|
2017-09-25 18:22:08 -04:00
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceGUI(PluginInstanceGUI *ui)
|
2017-09-16 04:45:08 -04:00
|
|
|
{
|
2017-10-29 21:15:59 -04:00
|
|
|
if (ui) { ui->destroy(); }
|
2017-09-16 04:45:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
|
|
|
|
{
|
2017-10-29 21:15:59 -04:00
|
|
|
if (source) { source->destroy(); }
|
2017-09-16 04:45:08 -04:00
|
|
|
}
|
|
|
|
|
2017-09-25 18:22:08 -04:00
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceGUI(PluginInstanceGUI *ui)
|
2017-09-16 04:45:08 -04:00
|
|
|
{
|
2017-10-29 21:15:59 -04:00
|
|
|
if (ui) { ui->destroy(); }
|
2017-09-16 04:45:08 -04:00
|
|
|
}
|
|
|
|
|
2017-09-16 05:34:25 -04:00
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
|
|
|
|
{
|
2017-10-29 21:15:59 -04:00
|
|
|
if (sink) { sink->destroy(); }
|
2017-09-16 05:34:25 -04:00
|
|
|
}
|