remove unused

This commit is contained in:
Alexandre Ratchov 2014-02-13 16:36:56 +01:00
parent 05c5ae3c6a
commit 7fbbfab94a
1 changed files with 2 additions and 3 deletions

View File

@ -469,7 +469,7 @@ sio_alsa_xrun(struct sio_alsa_hdl *hdl)
int clk;
int wsil, rdrop, cmove;
int rbpf, rround;
int wbpf, wround;
int wbpf;
DPRINTFN(2, "sio_alsa_xrun:\n");
if (_sndio_debug >= 2)
@ -485,10 +485,9 @@ sio_alsa_xrun(struct sio_alsa_hdl *hdl)
*/
rbpf = (hdl->sio.mode & SIO_REC) ?
hdl->sio.par.bps * hdl->sio.par.rchan : 1;
rround = hdl->sio.par.round * rbpf;
wbpf = (hdl->sio.mode & SIO_PLAY) ?
hdl->sio.par.bps * hdl->sio.par.pchan : 1;
wround = hdl->sio.par.round * wbpf;
rround = hdl->sio.par.round * rbpf;
clk = hdl->sio.cpos % hdl->sio.par.round;
rdrop = (clk * rbpf - hdl->sio.rused) % rround;