aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-23 23:59:54 +0200
committerMax Kellermann <max@duempel.org>2008-09-23 23:59:54 +0200
commite4f5d6bdf47c96dc9c0b5fe287598bc10b168a71 (patch)
tree2229953464549c10559a458879cd33678f1c704e /src/inputStream.c
parent9899ab5ac2d572fbfa430b59f8bf6f917477b6f1 (diff)
downloadmpd-e4f5d6bdf47c96dc9c0b5fe287598bc10b168a71.tar.gz
mpd-e4f5d6bdf47c96dc9c0b5fe287598bc10b168a71.tar.xz
mpd-e4f5d6bdf47c96dc9c0b5fe287598bc10b168a71.zip
alsa: re-enable-nonblocking, but sleep if busy
Instead of letting ALSA block for us (and potentially allowing something stupid on certain hardware or drivers), we do the sleeping ourselves. We calculate the sleep to be a fraction of period_time to avoid oversleeping (and thus audible skipping).
Diffstat (limited to 'src/inputStream.c')
0 files changed, 0 insertions, 0 deletions