aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-12-14 17:01:13 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-12-14 17:01:13 +0100
commit8539fe1ff09c66b1246df531ccdf1b08105aca28 (patch)
treeccdc1818096988e33ad3959bcf900a4ad181b21d
parent80cba2c8cacf4a5f3b984ff4b0bd5702df27b277 (diff)
downloadsynthpod-8539fe1ff09c66b1246df531ccdf1b08105aca28.tar.xz
fix bug when clearing wrong atom port buffer.
-rw-r--r--lib/synthpod_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/synthpod_app.c b/lib/synthpod_app.c
index c9a6444b..b1865b2c 100644
--- a/lib/synthpod_app.c
+++ b/lib/synthpod_app.c
@@ -2854,7 +2854,7 @@ sp_app_run_pre(sp_app_t *app, uint32_t nsamples)
if( (port->type == PORT_TYPE_ATOM)
&& (port->buffer_type == PORT_BUFFER_TYPE_SEQUENCE) )
{
- LV2_Atom_Sequence *seq = PORT_BASE_ALIGNED(port);
+ LV2_Atom_Sequence *seq = PORT_BUF_ALIGNED(port);
seq->atom.type = app->regs.port.sequence.urid;
seq->atom.size = sizeof(LV2_Atom_Sequence_Body); // empty sequence
}