From 05834decf0423acb1f3b407f8a33bdc634e2e1a0 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Tue, 14 May 2013 11:42:32 +0200 Subject: [PATCH] less traces --- libsndio/sio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsndio/sio.c b/libsndio/sio.c index bedcca4..8c72599 100644 --- a/libsndio/sio.c +++ b/libsndio/sio.c @@ -270,7 +270,7 @@ sio_rdrop(struct sio_hdl *hdl) if (n == 0) return 0; hdl->rdrop -= n; - DPRINTF("sio_rdrop: dropped %zu/%zu bytes\n", n, todo); + DPRINTF("sio_rdrop: dropped %zu bytes\n", n); } return 1; } @@ -290,7 +290,7 @@ sio_wsil(struct sio_hdl *hdl) if (n == 0) return 0; hdl->wsil -= n; - DPRINTF("sio_wsil: inserted %zu/%zu bytes\n", n, todo); + DPRINTF("sio_wsil: inserted %zu bytes\n", n); } return 1; } @@ -491,7 +491,7 @@ sio_onmove_cb(struct sio_hdl *hdl, int delta) { #ifdef DEBUG hdl->cpos += delta; - if (sndio_debug >= 1) + if (sndio_debug >= 2) sio_printpos(hdl); #endif if (hdl->move_cb)