summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-02 01:49:10 -0400
committerDavid Robillard <d@drobilla.net>2016-08-02 02:33:47 -0400
commitd6621e5d1e6f705a09106f62cc75cb33c8c18670 (patch)
tree09f7a3f88ee6a861a2d30df120e7a7c7d9be2f9f
parent9030ffdb156180f93ef87b7718d3ff297edbce6a (diff)
downloadingen-d6621e5d1e6f705a09106f62cc75cb33c8c18670.tar.gz
ingen-d6621e5d1e6f705a09106f62cc75cb33c8c18670.tar.bz2
ingen-d6621e5d1e6f705a09106f62cc75cb33c8c18670.zip
Make graph control ports support patch:Message
-rw-r--r--src/server/events/CreateGraph.cpp1
-rw-r--r--tests/empty.ingen/main.ttl2
2 files changed, 3 insertions, 0 deletions
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 ;
<http://lv2plug.in/ns/ext/resize-port#minimumSize> 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 ;
<http://lv2plug.in/ns/ext/resize-port#minimumSize> 4096 ;
lv2:index 1 ;
lv2:name "Control" ;