зеркало из https://github.com/mozilla/gecko-dev.git
Bug 851149 - Fix cubeb_sndio build after switchable-backends landing. r=kinetik
This commit is contained in:
Родитель
0994e31e10
Коммит
dc0dc4bc30
|
@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
|
||||||
|
|
||||||
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
|
The cubeb git repository is: git://github.com/kinetiknz/cubeb.git
|
||||||
|
|
||||||
The git commit ID used was 0c7d97523096a7d4ae363974393d06f77c4592c9.
|
The git commit ID used was c9c97571980ca77c990a763802c11682a332cbd6.
|
||||||
|
|
|
@ -217,7 +217,7 @@ sndio_stream_init(cubeb *context,
|
||||||
DPR("sndio_stream_init() unsupported params\n");
|
DPR("sndio_stream_init() unsupported params\n");
|
||||||
return CUBEB_ERROR_INVALID_FORMAT;
|
return CUBEB_ERROR_INVALID_FORMAT;
|
||||||
}
|
}
|
||||||
sio_onmove(s->hdl, cubeb_onmove, s);
|
sio_onmove(s->hdl, sndio_onmove, s);
|
||||||
s->active = 0;
|
s->active = 0;
|
||||||
s->nfr = rpar.round;
|
s->nfr = rpar.round;
|
||||||
s->bpf = rpar.bps * rpar.pchan;
|
s->bpf = rpar.bps * rpar.pchan;
|
||||||
|
@ -262,7 +262,7 @@ sndio_stream_start(cubeb_stream *s)
|
||||||
|
|
||||||
DPR("sndio_stream_start()\n");
|
DPR("sndio_stream_start()\n");
|
||||||
s->active = 1;
|
s->active = 1;
|
||||||
err = pthread_create(&s->th, NULL, cubeb_mainloop, s);
|
err = pthread_create(&s->th, NULL, sndio_mainloop, s);
|
||||||
if (err) {
|
if (err) {
|
||||||
s->active = 0;
|
s->active = 0;
|
||||||
return CUBEB_ERROR;
|
return CUBEB_ERROR;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче