aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-10 19:36:13 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-10 19:37:50 -0700
commit1b6315e8f6372e7abe1a3eb08b27b2f331aa2728 (patch)
tree21620303d5b2dcf9f2e9640695fe352cc18f68d5 /src/inputPlugins
parent8ea40fae6181d788b0900aa6c77c3cdb1e9b5992 (diff)
downloadmpd-1b6315e8f6372e7abe1a3eb08b27b2f331aa2728.tar.gz
mpd-1b6315e8f6372e7abe1a3eb08b27b2f331aa2728.tar.xz
mpd-1b6315e8f6372e7abe1a3eb08b27b2f331aa2728.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 '')
0 files changed, 0 insertions, 0 deletions