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