pulse: fix fragsize initialization

This commit is contained in:
Wim Taymans 2020-10-07 12:00:31 +02:00
parent d027a02223
commit 1d95b5bb5b

View file

@ -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;