fixed vst loading bug
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#include "dropshadoweffect.h"
|
||||
|
||||
DropShadowEffect::DropShadowEffect() {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef DROPSHADOWEFFECT_H
|
||||
#define DROPSHADOWEFFECT_H
|
||||
|
||||
|
||||
class DropShadowEffect
|
||||
{
|
||||
public:
|
||||
DropShadowEffect();
|
||||
};
|
||||
|
||||
#endif // DROPSHADOWEFFECT_H
|
||||
@@ -108,6 +108,10 @@ typedef void (*processFuncPtr)(AEffect *effect, float **inputs, float **outputs,
|
||||
void VSTHost::loadPlugin() {
|
||||
QString dll_fn = file_field->get_filename(0, true);
|
||||
|
||||
if (dll_fn.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(__APPLE__)
|
||||
bundle = BundleLoad(dll_fn);
|
||||
|
||||
|
||||
@@ -151,7 +151,8 @@ SOURCES += \
|
||||
ui/focusfilter.cpp \
|
||||
project/comboaction.cpp \
|
||||
ui/mediaiconservice.cpp \
|
||||
ui/panel.cpp
|
||||
ui/panel.cpp \
|
||||
effects/internal/dropshadoweffect.cpp
|
||||
|
||||
HEADERS += \
|
||||
mainwindow.h \
|
||||
@@ -260,7 +261,8 @@ HEADERS += \
|
||||
ui/focusfilter.h \
|
||||
project/comboaction.h \
|
||||
ui/mediaiconservice.h \
|
||||
ui/panel.h
|
||||
ui/panel.h \
|
||||
effects/internal/dropshadoweffect.h
|
||||
|
||||
FORMS +=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user