Files
bsdports/xapp/libxul/files/patch-bug1153151
2019-12-26 07:26:06 +00:00

14 lines
456 B
Plaintext

Bug 1153151 - make libcubeb sndio use non-blocking i/o
--- media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
+++ media/libcubeb/src/cubeb_sndio.c
@@ -187,7 +187,7 @@ sndio_stream_init(cubeb *context,
if (s == NULL)
return CUBEB_ERROR;
s->context = context;
- s->hdl = sio_open(NULL, SIO_PLAY, 0);
+ s->hdl = sio_open(NULL, SIO_PLAY, 1);
if (s->hdl == NULL) {
free(s);
DPR("sndio_stream_init(), sio_open() failed\n");