diff options
author | David Robillard <d@drobilla.net> | 2008-04-12 18:07:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-04-12 18:07:44 +0000 |
commit | 56b36b843389f6e52dcdb31878ea6262cca56b42 (patch) | |
tree | 81d75b35176054fabaf7e51c8f8bbb0a85a68f68 /src/libs/engine/LV2Info.cpp | |
parent | a6ab331fb757ff0f20d9b7c2fd0079210b303d96 (diff) | |
download | ingen-56b36b843389f6e52dcdb31878ea6262cca56b42.tar.gz ingen-56b36b843389f6e52dcdb31878ea6262cca56b42.tar.bz2 ingen-56b36b843389f6e52dcdb31878ea6262cca56b42.zip |
LV2 event/MIDI fixed for Ingen from larsl.
git-svn-id: http://svn.drobilla.net/lad/ingen@1180 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/LV2Info.cpp')
-rw-r--r-- | src/libs/engine/LV2Info.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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)); } |