diff options
author | David Robillard <d@drobilla.net> | 2013-02-18 02:00:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-18 02:00:46 +0000 |
commit | e5ffd577fced7c2d55b0298af8eb6a4581de82a6 (patch) | |
tree | 6a7b6968866b755a7a11fa984eceb23c0b062366 /plugins | |
parent | 881da03ad49b987975ba293a4d0a51c561309470 (diff) | |
download | lv2-e5ffd577fced7c2d55b0298af8eb6a4581de82a6.tar.xz |
Remove unused metro notify port.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg03-metro.lv2/metro.c | 13 | ||||
-rw-r--r-- | plugins/eg03-metro.lv2/metro.ttl | 9 |
2 files changed, 1 insertions, 21 deletions
diff --git a/plugins/eg03-metro.lv2/metro.c b/plugins/eg03-metro.lv2/metro.c index 9048e21..925c1e7 100644 --- a/plugins/eg03-metro.lv2/metro.c +++ b/plugins/eg03-metro.lv2/metro.c @@ -52,8 +52,7 @@ static const double decay_s = 0.075; enum { METRO_CONTROL = 0, - METRO_NOTIFY = 1, - METRO_OUT = 2 + METRO_OUT = 1 }; /** During execution this plugin can be in one of 3 states: */ @@ -80,7 +79,6 @@ typedef struct { struct { LV2_Atom_Sequence* control; - LV2_Atom_Sequence* notify; float* output; } ports; @@ -113,9 +111,6 @@ connect_port(LV2_Handle instance, case METRO_CONTROL: self->ports.control = (LV2_Atom_Sequence*)data; break; - case METRO_NOTIFY: - self->ports.notify = (LV2_Atom_Sequence*)data; - break; case METRO_OUT: self->ports.output = (float*)data; break; @@ -285,12 +280,6 @@ run(LV2_Handle instance, uint32_t sample_count) Metro* self = (Metro*)instance; const MetroURIs* uris = &self->uris; - // Empty notify output for now - LV2_Atom_Sequence* notify = self->ports.notify; - notify->atom.type = self->uris.atom_Sequence; - notify->atom.size = sizeof(LV2_Atom_Sequence_Body); - notify->body.unit = notify->body.pad = 0; - // Work forwards in time frame by frame, handling events as we go const LV2_Atom_Sequence* in = self->ports.control; uint32_t last_t = 0; diff --git a/plugins/eg03-metro.lv2/metro.ttl b/plugins/eg03-metro.lv2/metro.ttl index a6f297f..694c3bc 100644 --- a/plugins/eg03-metro.lv2/metro.ttl +++ b/plugins/eg03-metro.lv2/metro.ttl @@ -22,15 +22,6 @@ lv2:symbol "control" ; lv2:name "Control" ; ] , [ - a lv2:OutputPort , - atom:AtomPort ; - atom:bufferType atom:Sequence ; - atom:supports <http://lv2plug.in/ns/ext/patch#Patch> ; - lv2:portProperty lv2:connectionOptional ; - lv2:index 1 ; - lv2:symbol "notify" ; - lv2:name "Notify" ; - ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 2 ; |