mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
f86ea21b19
commit
ca4f9d4989
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue