• Max Kellermann's avatar
    audio_output: workaround for deadlock · e2a12dee
    Max Kellermann authored
    During debugging, I found a deadlock between flushAudioBuffer() and
    the audio_output_task(): audio_output_task() didn't notice that there
    is a command, and flushAudioBuffer() waited forever in notify_wait().
    I am not sure yet what is the real cause; work around this for now by
    waking up non-finished audio outputs in every iteration.
    e2a12dee
output_control.h 1.78 KB