From 8ef6955d43a441a5873abaa27049041dea18f79e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 29 Sep 2008 03:17:06 +0000 Subject: * Context extension work. * Better support for set_port_value on event ports. * Don't pop audio ports when clicking in event mode. * Clicking an event port in event mode will 'bang' the event port (example 'bang' plugin prints when it receives one). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1534 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/LV2Info.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libs/engine/LV2Info.cpp') diff --git a/src/libs/engine/LV2Info.cpp b/src/libs/engine/LV2Info.cpp index 4d934855..43dd014b 100644 --- a/src/libs/engine/LV2Info.cpp +++ b/src/libs/engine/LV2Info.cpp @@ -34,6 +34,8 @@ LV2Info::LV2Info(Ingen::Shared::World* world) , event_class(slv2_value_new_uri(world->slv2_world, SLV2_PORT_CLASS_EVENT)) , _world(world) { + assert(world); + LV2_Event_Feature* ev_data = (LV2_Event_Feature*)malloc(sizeof(LV2_Event_Feature)); ev_data->lv2_event_ref = &LV2Info::event_ref; ev_data->lv2_event_unref = &LV2Info::event_ref; -- cgit v1.2.1