mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
64e8dee3a7
commit
2c4d36e4d0
1 changed files with 1 additions and 0 deletions
|
|
@ -1299,6 +1299,7 @@ do_process_done(struct spa_loop *loop,
|
|||
|
||||
while ((uint32_t)avail >= stream->attr.fragsize) {
|
||||
towrite = SPA_MIN(avail, MAX_FRAGSIZE);
|
||||
towrite = SPA_ROUND_DOWN(towrite, stream->frame_size);
|
||||
|
||||
msg = message_alloc(impl, stream->channel, towrite);
|
||||
if (msg == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue