aboutsummaryrefslogtreecommitdiffstats
path: root/src/chunk.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-06pipe: added music_buffer, rewrite music_pipeMax Kellermann1-0/+3
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.
2009-03-05music_chunk: added music_chunk_write(), music_chunk_expand()Max Kellermann1-0/+36
Moved some code from music_pipe_write() and music_pipe_expand(). Only music_chunk.c should access the music_chunk internals.
2009-03-03music_pipe: moved struct music_chunk to chunk.hMax Kellermann1-0/+61