summaryrefslogtreecommitdiff
path: root/lv2/lv2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2.cc')
-rw-r--r--lv2/lv2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/lv2.cc b/lv2/lv2.cc
index 8a8d7a3..346b0dc 100644
--- a/lv2/lv2.cc
+++ b/lv2/lv2.cc
@@ -24,7 +24,7 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include <lv2/lv2plug.in/ns/lv2core/lv2.h>
+#include <lv2.h>
#include <stdlib.h>
@@ -93,7 +93,7 @@ LV2_Handle instantiate(const struct _LV2_Descriptor *descriptor,
dglv2->buffer_size = 0;
dglv2->dg = new DrumGizmo(dglv2->out, dglv2->in);
- dglv2->dg->loadkit("/home/deva/docs/c/drumgizmo/kits/test/test.xml");
+ dglv2->dg->loadkit(getenv("DRUMGIZMO_DRUMKIT"));
dglv2->dg->init(true);
return (LV2_Handle)dglv2;