diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-09 09:03:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-09 09:03:08 +0200 |
commit | 5c81b716e21146a59d6636fcff3b0dc5687a5760 (patch) | |
tree | 54efa4ae2046e793fb12253ab97fbe109157bfcc /src/inputStream_http.c | |
parent | 37489b1f97ecd1a2d72106b497f9c7cda92a48c0 (diff) | |
download | mpd-5c81b716e21146a59d6636fcff3b0dc5687a5760.tar.gz mpd-5c81b716e21146a59d6636fcff3b0dc5687a5760.tar.xz mpd-5c81b716e21146a59d6636fcff3b0dc5687a5760.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 'src/inputStream_http.c')
0 files changed, 0 insertions, 0 deletions