From 7fbbfab94ae15ea4a392f97894f14ca675973373 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 13 Feb 2014 16:36:56 +0100 Subject: [PATCH] remove unused --- libsndio/sio_alsa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsndio/sio_alsa.c b/libsndio/sio_alsa.c index b56203a..9dbcf7f 100644 --- a/libsndio/sio_alsa.c +++ b/libsndio/sio_alsa.c @@ -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;