Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't crossfade different audio formats | Eric Wong | 2008-08-23 | 1 | -2/+4 |
| | | | | It sounds nasty and we didn't do it before the core-rewrite | ||||
* | outputBuffer: fix buffer_before_play handling | Eric Wong | 2008-08-23 | 1 | -25/+20 |
| | | | | | | | | | | | | | | | | | | buffer_before_play is a prebuffer; always respecting it is almost as good as having no buffer at all. So we only respect it when we haven't played anything. Bugs that were a side effect of this also got fixed: The player would not stop when we got to the end of the last song on non-repeating playlists. The playlist would continuously show the song in the last few seconds of playback, and never move. Having crossfade enabled would also amplify the above effect. So, as a side effect, crossfade now correctly handles end-of-playlist conditions, as well. It will fade out to silence when we're at the end of a playlist. | ||||
* | core rewrite (decode,player,outputBuffer,playlist) | Eric Wong | 2008-08-16 | 1 | -0/+105 |
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. |