summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pcm.c b/src/pcm.c
index 75bec41..7b33a1b 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -509,12 +509,6 @@ snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size)
ret = snd_pcm_bytes_to_frames(pcm, io.read(buffer, snd_pcm_frames_to_bytes(pcm, size), &state));
}
- static size_t old_ret;
- if (ret != old_ret) {
- WARNX("%lu %lu %lu", pcm->avail, size, ret);
- old_ret = ret;
- }
-
assert(pcm->avail >= ret);
pcm->written += ret;
pcm->avail -= ret;