mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: prebuf can be 0
This commit is contained in:
parent
d3ee29caff
commit
ff99a48acf
1 changed files with 0 additions and 1 deletions
|
|
@ -676,7 +676,6 @@ static void fix_playback_buffer_attr(struct stream *s, struct buffer_attr *attr)
|
|||
if (attr->prebuf == (uint32_t) -1 || attr->prebuf > max_prebuf)
|
||||
attr->prebuf = max_prebuf;
|
||||
attr->prebuf -= attr->prebuf % frame_size;
|
||||
attr->prebuf = SPA_MAX(attr->prebuf, frame_size);
|
||||
|
||||
pw_log_info(NAME" %p: maxlength:%u tlength:%u minreq:%u prebuf:%u", s,
|
||||
attr->maxlength, attr->tlength, attr->minreq, attr->prebuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue