diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-05 21:20:16 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-05 21:20:16 +0200 |
commit | 38ca16084eaed14e155c3f096d6eb6e38778e9a4 (patch) | |
tree | 81a13c0933d74c3c9dc2aedf06cd6ccfdfd196bf | |
parent | 71e1c617ba1756269dca9c5bc07c765077cc7b08 (diff) |
Get drumkit filename from env. Relocate lv2.h file inclusion.
-rw-r--r-- | lv2/lv2.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |