Some ideas on streams added to the TODO

svn-id: r21425
This commit is contained in:
Max Horn 2006-03-24 14:15:32 +00:00
parent 58b14bab3c
commit 832d795959

9
TODO
View File

@ -160,6 +160,10 @@ Audio
be used here (this then would reduce code duplication and make it instantly 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 possible to use WAV/VOC encoded audio tracks, should we desire to support
those). 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 Config Manager
============== ==============
@ -326,6 +330,11 @@ Streams
stream, but will restrict access to the specified byte range. 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 This then can be used in various places, e.g. in many of the AudioStream
classes, to simplify code. 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 # Engines / frontends