summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-10 01:01:50 +0000
committerDavid Robillard <d@drobilla.net>2011-03-10 01:01:50 +0000
commit2290ef683f154abebe60dfb0392a21325d2a61e0 (patch)
treeab583f4f6d10be58f755dbd380e00cc5b867444b /src/engine/events
parent7703427f6832cb3195580fda0ab506e7c2948032 (diff)
downloadingen-2290ef683f154abebe60dfb0392a21325d2a61e0.tar.gz
ingen-2290ef683f154abebe60dfb0392a21325d2a61e0.tar.bz2
ingen-2290ef683f154abebe60dfb0392a21325d2a61e0.zip
Use event extension context to map MidiEvent.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3061 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/SetPortValue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp
index a8adf658..fd0a9e1a 100644
--- a/src/engine/events/SetPortValue.cpp
+++ b/src/engine/events/SetPortValue.cpp
@@ -164,7 +164,8 @@ SetPortValue::apply(Context& context)
_port->raise_set_by_user_flag();
return;
- } else if (!strcmp(_value.get_blob_type(), "http://lv2plug.in/ns/ext/midi#MidiEvent")) {
+ } else if (!strcmp(_value.get_blob_type(),
+ "http://lv2plug.in/ns/ext/midi#MidiEvent")) {
ebuf->prepare_write(context);
ebuf->append(frames, 0,
uris.global_to_event(uris.midi_MidiEvent.id).second,