summaryrefslogtreecommitdiff
path: root/muse2/muse/vst.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2011-10-07 02:20:29 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2011-10-07 02:20:29 +0000
commitf16b2037025918e32c5fd90527f76e1102e5ecb9 (patch)
tree0da3b7a29d13b5b826b291ccb2f2676d2e227b40 /muse2/muse/vst.cpp
parent42039e7f7f215f6008829d8c6be591c998f1228c (diff)
(hopefully) final huge namespace update.
Diffstat (limited to 'muse2/muse/vst.cpp')
-rw-r--r--muse2/muse/vst.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/muse2/muse/vst.cpp b/muse2/muse/vst.cpp
index e0c291e3..f72d426b 100644
--- a/muse2/muse/vst.cpp
+++ b/muse2/muse/vst.cpp
@@ -44,6 +44,8 @@
#include "midi.h"
#include "xml.h"
+namespace MusECore {
+
extern "C" void fst_error(const char *fmt, ...);
extern long vstHostCallback (AEffect*, long, long, long, void*, float);
@@ -642,7 +644,12 @@ bool VstSynthIF::putEvent(const MidiPlayEvent& ev)
int rv = plugin->dispatcher(plugin, effProcessEvents, 0, 0, &events, 0.0f);
return false;
}
+
+} // namespace MusECore
+
#else
+namespace MusECore {
void initVST() {}
+} // namespace MusECore
#endif