freebsd-ports/mail/thunderbird/files/patch-bug1153151
Jan Beich 5ed2ce4ef5 www/firefox-esr: improve A/V sync with SNDIO=on
PR:		215867
Reported by:	Sergey <kpect@protonmail.com>
Submitted by:	Tobias Kortkamp <t@tobik.me>
Obtained from:	upstream
MFH:		2017Q1
2017-01-13 17:59:03 +00:00

13 lines
472 B
Text

Bug 1153151 - make libcubeb sndio use non-blocking i/o
--- mozilla/media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
+++ mozilla/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");