From f0f9e67865ff9beb323ad1acab4d0136ea08c38f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Apr 2012 02:39:05 +0000 Subject: Make all atom/util.h functions start with lv2_atom. --- plugins/eg-sampler.lv2/sampler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/eg-sampler.lv2/sampler.c') diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index d279ee4..e837517 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -356,8 +356,7 @@ run(LV2_Handle instance, lv2_atom_forge_sequence_head(&self->forge, &self->notify_frame, 0); /* Read incoming events */ - LV2_SEQUENCE_FOREACH(self->control_port, i) { - LV2_Atom_Event* const ev = lv2_sequence_iter_get(i); + LV2_ATOM_SEQUENCE_FOREACH(self->control_port, ev) { self->frame_offset = ev->time.frames; if (ev->body.type == uris->midi_Event) { uint8_t* const data = (uint8_t* const)(ev + 1); -- cgit v1.2.1