aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-19 22:03:27 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-19 22:03:27 +0000
commitc1fbcd03f04cfb11401174e40f7d451ee3abfff5 (patch)
tree3b664e3b6c46e89990fe4b5348f8bf5e47d2ba86 /TODO
parent3e659738ba2f02399b98f09873eb4ee2de832430 (diff)
downloadmpd-c1fbcd03f04cfb11401174e40f7d451ee3abfff5.tar.gz
mpd-c1fbcd03f04cfb11401174e40f7d451ee3abfff5.tar.xz
mpd-c1fbcd03f04cfb11401174e40f7d451ee3abfff5.zip
todo update and make firstFrame in mp3_decode less blocky!
git-svn-id: https://svn.musicpd.org/mpd/trunk@1098 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'TODO')
-rw-r--r--TODO28
1 files changed, 20 insertions, 8 deletions
diff --git a/TODO b/TODO
index 9f63dca88..62814c3d8 100644
--- a/TODO
+++ b/TODO
@@ -1,22 +1,34 @@
1) play streams
- a) for mp3, remember to turn off IGNORECRC for mp3 streams
- b) deal with non-blocking in decodeFirstFrame (mp3) better!
- c) bufferInput in outputBuffer waiting!
+ 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!
+ b) bufferInput in outputBuffer waiting!
1) implement some sort of callback mechanism for this
for abstraction sake
- d) deal with pausing better
+ c) deal with pausing better
1) seekable, on resuming pause, check if we need to reconnect,
jumping to offset
2) if seekable, at some point after init, mark this!
3) if not seekable, reset buffer, and elapsedTime when
unpaused
- e) put some sort of error reporting for streaming/inputStream!
- f) ogg streams
- g) fetch metadata and store in DecoderControl and pass to
+ d) put some sort of error reporting for streaming/inputStream!
+ e) ogg streams
+ f) fetch metadata and store in DecoderControl and pass to
PlayerControl
1) eventually deal with icy-metadata
2) parse metadata on the fly in decoders
- h) command for dealing with the changing metadata, currentsonginfo
+ g) command for dealing with the changing metadata, currentsonginfo
or something
2) how to deal with streams and the db