summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-01 22:24:40 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-01 22:24:40 +0000
commit8a82309d8a5c251cb1f836ac8bc01c5350579235 (patch)
tree859ee6d198657ddec3c07597e4eac62b80ce3755 /gtk2_ardour/main.cc
parentce7dcfe320e1a842836008ae9de2e9edb7bfb407 (diff)
bundle needs to set panner path
git-svn-id: svn://localhost/ardour2/branches/3.0@8668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 95858ea055..ce67e7d157 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -210,6 +210,18 @@ fixup_bundle_environment (int, char* [])
setenv ("ARDOUR_CONTROL_SURFACE_PATH", path.c_str(), 1);
+ cstr = getenv ("ARDOUR_PANNER_PATH");
+ if (cstr) {
+ path = cstr;
+ path += ':';
+ } else {
+ path = "";
+ }
+ path += dir_path;
+ path += "/lib/panners";
+
+ setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
+
cstr = getenv ("LV2_PATH");
if (cstr) {
path = cstr;
@@ -391,6 +403,18 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
setenv ("ARDOUR_CONTROL_SURFACE_PATH", path.c_str(), 1);
+ cstr = getenv ("ARDOUR_PANNER_PATH");
+ if (cstr) {
+ path = cstr;
+ path += ':';
+ } else {
+ path = "";
+ }
+ path += dir_path;
+ path += "/lib/panners";
+
+ setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
+
cstr = getenv ("LV2_PATH");
if (cstr) {
path = cstr;