aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/eg03-metro.lv2/metro.c13
-rw-r--r--plugins/eg03-metro.lv2/metro.ttl9
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 ;