diff options
author | Max Kellermann <max@duempel.org> | 2009-10-29 23:35:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-29 23:35:27 +0100 |
commit | cec019efffe4ebb87ec2c630003e6bce5083bb5e (patch) | |
tree | 1494ffa760562639ac0df6d8eba8f4c17e764271 /src/output_print.c | |
parent | 4748decd8df52f747605271fac18f94437b78e0c (diff) | |
download | mpd-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/output_print.c')
0 files changed, 0 insertions, 0 deletions