diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 23:48:34 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 23:48:34 +0000 |
commit | a81573ef059ac9f006ea438574b1b7ff751ba55d (patch) | |
tree | 84736ed5ad3c296ff9502c407c2ab176023cd90e /TODO | |
parent | c1fbcd03f04cfb11401174e40f7d451ee3abfff5 (diff) | |
download | mpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.tar.gz mpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.tar.xz mpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.zip |
non-blocking seeking, needs some testing! (this is not just for streams
but new code for files seeking as well)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1099 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -2,17 +2,9 @@ a) make seekings non-blocking: 1) player: a) first check that seekWhere isn't already buffered - b) if not current song, stop it and play the song to - seek - c) set dc->seek and dc->seekWhere if not already set - and set elapsed time to seekWhere and - then set pc->seek = 0 - d) while seeking just continue to play buffer - until seek is done - 2) decoder: - a) seek no longer blocks so don't worry about checking - seek in blocking portions, only check stop! - b) yay, less code mess! + 2) check that stream is seekable before seeking forward! + 3) deal with seeking forward better by calling seek function + (for mp3 and mp4)! b) bufferInput in outputBuffer waiting! 1) implement some sort of callback mechanism for this for abstraction sake |