• Max Kellermann's avatar
    output_thread: return bool from ao_play() · cec019ef
    Max Kellermann authored
    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.
    cec019ef
output_thread.c 10.4 KB