mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Some ideas on streams added to the TODO
svn-id: r21425
This commit is contained in:
parent
58b14bab3c
commit
832d795959
9
TODO
9
TODO
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user