aboutsummaryrefslogtreecommitdiffstats
path: root/src/idle.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-29 23:35:27 +0100
committerMax Kellermann <max@duempel.org>2009-10-29 23:35:27 +0100
commitcec019efffe4ebb87ec2c630003e6bce5083bb5e (patch)
tree1494ffa760562639ac0df6d8eba8f4c17e764271 /src/idle.h
parent4748decd8df52f747605271fac18f94437b78e0c (diff)
downloadmpd-cec019efffe4ebb87ec2c630003e6bce5083bb5e.tar.gz
mpd-cec019efffe4ebb87ec2c630003e6bce5083bb5e.tar.xz
mpd-cec019efffe4ebb87ec2c630003e6bce5083bb5e.zip
output_thread: return bool from ao_play()
Return false when there was no chunk in the pipe. If the function returns true, then audio_output_task() will not wait for a notify from the player thread. This fixes a race condition.
Diffstat (limited to 'src/idle.h')
0 files changed, 0 insertions, 0 deletions