aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-08 04:30:30 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-08 04:34:36 -0700
commitdccdfce721ffe730de2f55a67ecd1acfcb19bb0a (patch)
treea9520f9e98e40c3971954ea05596f76074f96762 /doc
parent92451cbdf0cbfd8c27daf3792e1a1cb68def91fc (diff)
downloadmpd-dccdfce721ffe730de2f55a67ecd1acfcb19bb0a.tar.gz
mpd-dccdfce721ffe730de2f55a67ecd1acfcb19bb0a.tar.xz
mpd-dccdfce721ffe730de2f55a67ecd1acfcb19bb0a.zip
alsa: use blocking instead of non-blocking write
The way we used non-blocking mode was HORRIBLE. It was non-blocking to ALSA, but we end up blocking in a busy loop that does absolutely NOTHING but retry. We don't check for playback cancellation (like we do in decoders) or anything. This is seriously broken and I can imagine it affects people on fast CPUs more because we do asynchronous output buffering and our ALSA device will always have data ready.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions