From 56b36b843389f6e52dcdb31878ea6262cca56b42 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Apr 2008 18:07:44 +0000 Subject: LV2 event/MIDI fixed for Ingen from larsl. git-svn-id: http://svn.drobilla.net/lad/ingen@1180 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/LV2Info.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libs/engine/LV2Info.cpp') diff --git a/src/libs/engine/LV2Info.cpp b/src/libs/engine/LV2Info.cpp index 23f2ede6..d1af757f 100644 --- a/src/libs/engine/LV2Info.cpp +++ b/src/libs/engine/LV2Info.cpp @@ -41,6 +41,12 @@ LV2Info::LV2Info(SLV2World world) lv2_features[0] = &uri_map_feature; lv2_features[1] = NULL; + + /* this is needed so we get a fixed type ID for MIDI, it would + probably be better to make the type map accessible from any + JackMidiPort. */ + next_uri_id++; + uri_map.insert(make_pair(string("http://lv2plug.in/ns/ext/midi#MidiEvent"), 1)); } -- cgit v1.2.1