Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ringbuf: create a new struct rbvec instead of reusing struct iovec | Eric Wong | 2008-08-30 | 1 | -3/+3 |
| | | | | | | | Using struct iovec means having to cast iov_base everywhere we want to do pointer arithmetic. Instead, just use rbvec which can be safely casted to iovec whenever we use the readv/writev functions. | ||||
* | core rewrite (decode,player,outputBuffer,playlist) | Eric Wong | 2008-08-16 | 1 | -0/+133 |
This is a huge refactoring of the core mpd process. The queueing/buffering mechanism is heavily reworked. The player.c code has been merged into outputBuffer (the actual ring buffering logic is handled by ringbuf.c); and decode.c actually handles decoding stuff. The end result is several hundreds of lines shorter, even though we still have a lot of DEBUG statements left in there for tracing and a lot of assertions, too. |