From 295427ca31f17a587d882086b6388dffbb373422 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Oct 2015 18:08:06 -0400 Subject: Support all Object types in plugin protocols --- plugins/eg-scope.lv2/examploscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/eg-scope.lv2/examploscope.c') diff --git a/plugins/eg-scope.lv2/examploscope.c b/plugins/eg-scope.lv2/examploscope.c index 6d1e953..9860f1d 100644 --- a/plugins/eg-scope.lv2/examploscope.c +++ b/plugins/eg-scope.lv2/examploscope.c @@ -260,7 +260,7 @@ run(LV2_Handle handle, uint32_t n_samples) while (!lv2_atom_sequence_is_end( &self->control->body, self->control->atom.size, ev)) { // If the event is an atom:Blank object - if (ev->body.type == self->uris.atom_Blank) { + if (lv2_atom_forge_is_object_type(&self->forge, ev->body.type)) { const LV2_Atom_Object* obj = (const LV2_Atom_Object*)&ev->body; if (obj->body.otype == self->uris.ui_On) { // If the object is a ui-on, the UI was activated -- cgit v1.2.1