We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c40b8 commit 3fba46fCopy full SHA for 3fba46f
src/plugins/pulse/ao_pulse.c
@@ -256,12 +256,10 @@ int ao_plugin_open(ao_device *device, ao_sample_format *format) {
256
}
257
258
/* buffering attributes */
259
- battr.prebuf = battr.minreq = battr.fragsize = -1;
+ battr.prebuf = battr.minreq = battr.fragsize = battr.maxlength = -1;
260
261
battr.tlength = internal->buffer_time * format->rate / 1000000 *
262
(format->bits / 8) * device->output_channels;
263
- battr.minreq = battr.tlength/4;
264
- battr.maxlength = battr.tlength+battr.minreq;
265
266
internal->simple = pa_simple_new(internal->server, t, PA_STREAM_PLAYBACK,
267
internal->sink, t2, &ss,
0 commit comments