diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-08 04:30:30 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-08 04:34:36 -0700 |
commit | dccdfce721ffe730de2f55a67ecd1acfcb19bb0a (patch) | |
tree | a9520f9e98e40c3971954ea05596f76074f96762 /m4 | |
parent | 92451cbdf0cbfd8c27daf3792e1a1cb68def91fc (diff) | |
download | mpd-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 'm4')
0 files changed, 0 insertions, 0 deletions