aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer_ob_send.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ob_send: avoid void pointer arithmetic warningEric Wong2008-09-021-1/+1
|
* ringbuf: create a new struct rbvec instead of reusing struct iovecEric Wong2008-08-301-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 Wong2008-08-161-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.