set default xrun mode

This commit is contained in:
Alexandre Ratchov 2015-01-17 21:08:11 +01:00
parent 85855e673a
commit 26400ac4de
2 changed files with 2 additions and 0 deletions

View File

@ -703,6 +703,7 @@ sio_sun_getpar(struct sio_hdl *sh, struct sio_par *par)
aui.play.block_size / (par->bps * par->pchan);
par->appbufsz = aui.hiwat * par->round;
par->bufsz = par->appbufsz;
par->xrun = SIO_IGNORE;
return 1;
}

View File

@ -1184,6 +1184,7 @@ sock_execmsg(struct sock *f)
AMSG_INIT(m);
m->cmd = htonl(AMSG_GETPAR);
m->u.par.legacy_mode = s->mode;
m->u.par.xrun = s->xrun;
m->u.par.bits = s->par.bits;
m->u.par.bps = s->par.bps;
m->u.par.sig = s->par.sig;