aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorMax Horn2006-03-24 14:15:32 +0000
committerMax Horn2006-03-24 14:15:32 +0000
commit832d795959351acd976605a89817769b5b534998 (patch)
tree7473125b5b49037b1f34b0933f061a2d566f015e /TODO
parent58b14bab3cde4c0fc8febe7c10fcc64a95dc24f3 (diff)
downloadscummvm-rg350-832d795959351acd976605a89817769b5b534998.tar.gz
scummvm-rg350-832d795959351acd976605a89817769b5b534998.tar.bz2
scummvm-rg350-832d795959351acd976605a89817769b5b534998.zip
Some ideas on streams added to the TODO
svn-id: r21425
Diffstat (limited to 'TODO')
-rw-r--r--TODO9
1 files changed, 9 insertions, 0 deletions
diff --git a/TODO b/TODO
index 813190f834..363addbed0 100644
--- a/TODO
+++ b/TODO
@@ -160,6 +160,10 @@ Audio
be used here (this then would reduce code duplication and make it instantly
possible to use WAV/VOC encoded audio tracks, should we desire to support
those).
+* Modify our audio stream classes (for MP3/Vorbis/FLAC/... playback) to use
+ SeekableReadStream instead of Files -> allow from-memory-playback.
+ And could take advantage of a new hypothetical "Sub(Seekable)Stream" class.
+ (See below for more info on that).
Config Manager
==============
@@ -326,6 +330,11 @@ Streams
stream, but will restrict access to the specified byte range.
This then can be used in various places, e.g. in many of the AudioStream
classes, to simplify code.
+* Add a "clone" method that makes a copy of the (seekable/readable) stream.
+ In the case of files, this would create a new file descriptor.
+ Purpose: Replace the Symbian hack in MP3InputStream and other places;
+ in particular, often we need two parts of code to access the same file
+ but in separate positions...
#######################################################################
# Engines / frontends