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