Bug 1242152 - fix sndio build after full-duplex API changes r=kinetik

This commit is contained in:
Landry Breuil 2016-01-24 10:59:58 +01:00
parent 5c21eacbad
commit efb57a8b52
2 changed files with 2 additions and 2 deletions

View File

@ -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 2de1ab50e16763fd88ec1b5bae30422de598eed0.
The git commit ID used was 2d8fc9358505cd87c5596cff142f1dc497e2a1ff.

View File

@ -103,7 +103,7 @@ sndio_mainloop(void *arg)
break;
}
pthread_mutex_unlock(&s->mtx);
nfr = s->data_cb(s, s->arg, s->buf, s->nfr);
nfr = s->data_cb(s, s->arg, NULL, s->buf, s->nfr);
pthread_mutex_lock(&s->mtx);
if (nfr < 0) {
DPR("sndio_mainloop() cb err\n");