summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-21 17:42:29 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-21 17:42:29 +0000
commitd9a3c6b89fde94b3632d1af57dd85ef9fc32f630 (patch)
tree5d4e264cabf03da5976033442530cba773f92475 /libs/ardour/globals.cc
parent24a919ce6d3509e777339a7da4a87ed00556a053 (diff)
Rename windows VST stuff with a Windows prefix.
git-svn-id: svn://localhost/ardour2/branches/3.0@10738 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index f1a0f71847..e07437ce9d 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -29,7 +29,7 @@
#include <fcntl.h>
#include <errno.h>
-#ifdef VST_SUPPORT
+#ifdef WINDOWS_VST_SUPPORT
#include <fst.h>
#endif
@@ -241,7 +241,7 @@ lotsa_files_please ()
}
int
-ARDOUR::init (bool use_vst, bool try_optimization)
+ARDOUR::init (bool use_windows_vst, bool try_optimization)
{
if (!Glib::thread_supported()) {
Glib::thread_init();
@@ -293,7 +293,7 @@ ARDOUR::init (bool use_vst, bool try_optimization)
return -1;
}
- Config->set_use_vst (use_vst);
+ Config->set_use_windows_vst (use_windows_vst);
#ifdef LXVST_SUPPORT
Config->set_use_lxvst(true);
#endif
@@ -301,8 +301,8 @@ ARDOUR::init (bool use_vst, bool try_optimization)
Profile = new RuntimeProfile;
-#ifdef VST_SUPPORT
- if (Config->get_use_vst() && fst_init (0)) {
+#ifdef WINDOWS_VST_SUPPORT
+ if (Config->get_use_windows_vst() && fst_init (0)) {
return -1;
}
#endif
@@ -386,7 +386,7 @@ ARDOUR::cleanup ()
delete Library;
lrdf_cleanup ();
delete &ControlProtocolManager::instance();
-#ifdef VST_SUPPORT
+#ifdef WINDOWS_VST_SUPPORT
fst_exit ();
#endif