Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | music_buffer: poison unallocated chunks | Max Kellermann | 2009-03-09 | 1 | -0/+5 |
| | | | | | When a music chunk is freed (returned to the buffer), poison its memory. | ||||
* | pipe: added music_buffer, rewrite music_pipe | Max Kellermann | 2009-03-06 | 1 | -0/+127 |
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. |