• Max Kellermann's avatar
    pipe: added music_buffer, rewrite music_pipe · 01cf7fea
    Max Kellermann authored
    Turn the music_pipe into a simple music_chunk queue.  The music_chunk
    allocation code is moved to music_buffer, and is now managed with a
    linked list instead of a ring buffer.  Two separate music_pipe objects
    are used by the decoder for the "current" and the "next" song, which
    greatly simplifies the cross-fading code.
    01cf7fea
decoder_internal.c 1.96 KB