diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-10 19:36:13 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-10 19:37:50 -0700 |
commit | 1b6315e8f6372e7abe1a3eb08b27b2f331aa2728 (patch) | |
tree | 21620303d5b2dcf9f2e9640695fe352cc18f68d5 /src/song.h | |
parent | 8ea40fae6181d788b0900aa6c77c3cdb1e9b5992 (diff) | |
download | mpd-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 'src/song.h')
0 files changed, 0 insertions, 0 deletions