fixed vst loading bug

This commit is contained in:
itsmattkc
2019-02-19 16:58:56 -08:00
parent 83ad41d9fd
commit 7f1a418d1b
4 changed files with 24 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
#include "dropshadoweffect.h"
DropShadowEffect::DropShadowEffect() {
}
+11
View File
@@ -0,0 +1,11 @@
#ifndef DROPSHADOWEFFECT_H
#define DROPSHADOWEFFECT_H
class DropShadowEffect
{
public:
DropShadowEffect();
};
#endif // DROPSHADOWEFFECT_H
+4
View File
@@ -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);
+4 -2
View File
@@ -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 +=