Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pipe: added music_buffer, rewrite music_pipe | Max Kellermann | 2009-03-06 | 1 | -19/+17 |
| | | | | | | | | 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. | ||||
* | music_pipe: added music_pipe_push() | Max Kellermann | 2009-03-06 | 1 | -0/+80 |
Added music_pipe_allocate(), music_pipe_push() and music_pipe_cancel(). Those functions allow the caller (decoder thread in this case) to do its own chunk management. The functions music_pipe_flush() and music_pipe_tag() can now be removed. |