jack: set the output buffer size correctly

The output buffer size is always the current cycle buffer_size.
The size that is give by the JACK API is only used to restrict the
number of mixdown samples or midi offsets.

Fixes #3892
This commit is contained in:
Wim Taymans 2024-03-12 15:53:02 +01:00
parent f86ea21b19
commit ca4f9d4989

View file

@ -1525,7 +1525,7 @@ static inline void *get_buffer_output(struct port *p, uint32_t frames, uint32_t
}
d = &b->datas[0];
d->chunk->offset = 0;
d->chunk->size = frames * sizeof(float);
d->chunk->size = c->buffer_frames * sizeof(float);
d->chunk->stride = stride;
io->buffer_id = b->id;