diff options
author | Max Horn | 2006-03-24 14:15:32 +0000 |
---|---|---|
committer | Max Horn | 2006-03-24 14:15:32 +0000 |
commit | 832d795959351acd976605a89817769b5b534998 (patch) | |
tree | 7473125b5b49037b1f34b0933f061a2d566f015e | |
parent | 58b14bab3cde4c0fc8febe7c10fcc64a95dc24f3 (diff) | |
download | scummvm-rg350-832d795959351acd976605a89817769b5b534998.tar.gz scummvm-rg350-832d795959351acd976605a89817769b5b534998.tar.bz2 scummvm-rg350-832d795959351acd976605a89817769b5b534998.zip |
Some ideas on streams added to the TODO
svn-id: r21425
-rw-r--r-- | TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |