• Max Kellermann's avatar
    added ob_set_lazy() · 7c952c4f
    Max Kellermann authored
    In lazy mode (previously the default), outputBuffer.c only wakes up
    the player when it was previously empty.  That caused a deadlock when
    the player was waiting for buffered_before_play, since the decoder
    wouldn't wake up the player when buffered_before_play was reached.  In
    non-lazy mode, always wake up the player when a new chunk was decoded.
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@7364 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    7c952c4f
outputBuffer.h 2.96 KB