summaryrefslogtreecommitdiffstats
path: root/matriseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'matriseq.c')
-rw-r--r--matriseq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/matriseq.c b/matriseq.c
index a83fad9..1834d4a 100644
--- a/matriseq.c
+++ b/matriseq.c
@@ -391,10 +391,10 @@ run(LV2_Handle instance, uint32_t n_frames)
// Send note ons for enabled notes this step
for (uint32_t y = 0; y < SEQ_H; ++y) {
if (self->seq[y][step]) {
- const uint8_t ev[] = { 0x90, NOTE_MIN + y, 0x40 };
+ const uint8_t on[] = { 0x90, NOTE_MIN + y, 0x40 };
lv2_atom_forge_frame_time(&self->forge, t);
lv2_atom_forge_atom(&self->forge, 3, self->uris.midi_MidiEvent);
- lv2_atom_forge_write(&self->forge, ev, 3);
+ lv2_atom_forge_write(&self->forge, on, 3);
}
}
}
@@ -424,7 +424,7 @@ cleanup(LV2_Handle instance)
free(self);
}
-const void*
+static const void*
extension_data(const char* uri)
{
return NULL;