diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-25 17:46:12 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-25 17:46:12 +0000 |
commit | d9b02a266d28a313d074b7efee8e4f03edb11418 (patch) | |
tree | 7b2b1062ff512ab4443d2596464cc6de4de072d3 /libs/ardour/globals.cc | |
parent | 50c51ce2392c44156b16f228b71f035766f64dfb (diff) |
lots of small fixes related to the rythmic rodent
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2967 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index dcaf98e0a9..5ada27a787 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -285,6 +285,17 @@ ARDOUR::init (bool use_vst, bool try_optimization) return -1; } #endif + + /* Make VAMP look in our library ahead of anything else */ + + char *p = getenv ("VAMP_PATH"); + string vamppath = VAMP_DIR; + if (p) { + vamppath += ':'; + vamppath += p; + } + setenv ("VAMP_PATH", vamppath.c_str(), 1); + setup_hardware_optimization (try_optimization); |