aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-scope.lv2/examploscope_ui.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-24 18:08:06 -0400
committerDavid Robillard <d@drobilla.net>2015-10-24 18:08:06 -0400
commit295427ca31f17a587d882086b6388dffbb373422 (patch)
treef8ab403980f77d0e4bb7937f8579968b5df69d4b /plugins/eg-scope.lv2/examploscope_ui.c
parentb041b087d18197553a439603cdaf5102a9a73cfa (diff)
downloadlv2-295427ca31f17a587d882086b6388dffbb373422.tar.xz
Support all Object types in plugin protocols
Diffstat (limited to 'plugins/eg-scope.lv2/examploscope_ui.c')
-rw-r--r--plugins/eg-scope.lv2/examploscope_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-scope.lv2/examploscope_ui.c b/plugins/eg-scope.lv2/examploscope_ui.c
index 558f624..e2723c6 100644
--- a/plugins/eg-scope.lv2/examploscope_ui.c
+++ b/plugins/eg-scope.lv2/examploscope_ui.c
@@ -631,7 +631,7 @@ port_event(LV2UI_Handle handle,
* - format > 0: Message (atom)
*/
if (format == ui->uris.atom_eventTransfer &&
- atom->type == ui->uris.atom_Blank) {
+ lv2_atom_forge_is_object_type(&ui->forge, atom->type)) {
const LV2_Atom_Object* obj = (const LV2_Atom_Object*)atom;
if (obj->body.otype == ui->uris.RawAudio) {
recv_raw_audio(ui, obj);