• Max Kellermann's avatar
    player: don't wake up decoder after every frame · 17d9c170
    Max Kellermann authored
    The decoder was woken up after each chunk which had been played.  That
    caused a lot of superfluous context switches.  Wake up the decoder
    only when a certain amount of the buffer has been consumed.  This
    formula is somewhat arbitrary, and has to be proven experimentally.
    17d9c170
player_thread.c 10.5 KB