mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse: fix fragsize initialization
This commit is contained in:
parent
d027a02223
commit
1d95b5bb5b
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ static void patch_buffer_attr(pa_stream *s, pa_buffer_attr *attr, pa_stream_flag
|
||||||
if (attr->prebuf == 0)
|
if (attr->prebuf == 0)
|
||||||
attr->prebuf = -1;
|
attr->prebuf = -1;
|
||||||
if (attr->fragsize == 0)
|
if (attr->fragsize == 0)
|
||||||
attr->prebuf = -1;
|
attr->fragsize = -1;
|
||||||
period = 100;
|
period = 100;
|
||||||
} else {
|
} else {
|
||||||
period = 20;
|
period = 20;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue