diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-05-11 22:37:22 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-05-11 22:37:22 +0200 |
commit | 70f3794ad7a79e3764c5d90ec1eddc372a76a7c4 (patch) | |
tree | 275189ca3fa1aa4620d056bb036f561d791cbb9f /osc_inspector.c | |
parent | 68494153e870264bcfd4633fd67a25c5993dc0cc (diff) | |
download | sherlock.lv2-70f3794ad7a79e3764c5d90ec1eddc372a76a7c4.tar.xz |
really only route OSC messages/bundles to UI.
Diffstat (limited to 'osc_inspector.c')
-rw-r--r-- | osc_inspector.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/osc_inspector.c b/osc_inspector.c index 3982fa0..0871966 100644 --- a/osc_inspector.c +++ b/osc_inspector.c @@ -184,7 +184,8 @@ run(LV2_Handle instance, uint32_t nsamples) { const LV2_Atom_Object *obj = (const LV2_Atom_Object *)&ev->body; - if(lv2_osc_is_message_or_bundle_type(&handle->osc_urid, obj->body.otype)) + if( lv2_atom_forge_is_object_type(¬ify->forge, obj->atom.type) + && lv2_osc_is_message_or_bundle_type(&handle->osc_urid, obj->body.otype) ) { has_event = true; if(notify->ref) |