From d6621e5d1e6f705a09106f62cc75cb33c8c18670 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 Aug 2016 01:49:10 -0400 Subject: Make graph control ports support patch:Message --- src/server/events/CreateGraph.cpp | 1 + tests/empty.ingen/main.ttl | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/server/events/CreateGraph.cpp b/src/server/events/CreateGraph.cpp index 93191437..d14e2f1f 100644 --- a/src/server/events/CreateGraph.cpp +++ b/src/server/events/CreateGraph.cpp @@ -54,6 +54,7 @@ CreateGraph::build_child_events() control_properties.put(uris.lv2_name, uris.forge.alloc("Control")); control_properties.put(uris.rdf_type, uris.atom_AtomPort); control_properties.put(uris.atom_bufferType, uris.atom_Sequence); + control_properties.put(uris.atom_supports, uris.patch_Message); control_properties.put(uris.rsz_minimumSize, uris.forge.make(4096)); control_properties.put(uris.lv2_portProperty, uris.lv2_connectionOptional); diff --git a/tests/empty.ingen/main.ttl b/tests/empty.ingen/main.ttl index 3f8c8ed5..2a6fdbe0 100644 --- a/tests/empty.ingen/main.ttl +++ b/tests/empty.ingen/main.ttl @@ -14,6 +14,7 @@ ingen:canvasY 32.0 ; ingen:polyphonic false ; atom:bufferType atom:Sequence ; + atom:supports patch:Message ; 4096 ; lv2:index 0 ; lv2:name "Control" ; @@ -27,6 +28,7 @@ ingen:canvasY 32.0 ; ingen:polyphonic false ; atom:bufferType atom:Sequence ; + atom:supports patch:Message ; 4096 ; lv2:index 1 ; lv2:name "Control" ; -- cgit v1.2.1