Open main menu

Difference between revisions of "TODO"

594 bytes removed ,  11:05, 26 February 2007
Update remarks on AudioStream/AudioCD Manager
(LaTeX docs were removed)
(Update remarks on AudioStream/AudioCD Manager)
Line 74: Line 74:


==== Audio streams ====
==== Audio streams ====
* 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).
* Add a "SeekableAudioStream" class, which would allow seeking in an audiostream: Forward / backward; offset is specified in milliseconds. Then, convert at least the MP3/FLAC/Vorbis audiostream classes to subclass that, and also adapt the corresponding factory functions. Converting more would obviously be nice, too.  
* Add a "SeekableAudioStream" class, which would allow seeking in an audiostream: Forward / backward; offset is specified in milliseconds. Then, convert at least the MP3/FLAC/Vorbis audiostream classes to subclass that, and also adapt the corresponding factory functions. Converting more would obviously be nice, too. The existing DigitalTrackInfo subclasses already contain seeking code which could be used as a starting point.
* Once SeekableAudioStream has been implemented, this can be used to greatly simplify the DigitalTrackInfo subclasses (like MP3TrackInfo) which are used by the Audio CD manager. In fact, it might then be possible to completely get rid of these special subclasses.


==== CD ====
==== CD ====
* The Audio CD Manager, and especially the DigitalTrackInfo class could stand an overhaul. The system currently is not as easy to extend as one would wish. In particular, it would be nice if arbitrary AudioStream classes could 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).
* Now that the FLAC/Ogg Vorbis/MP3 AudioStream subclasses support looping and playing only a portion of the input file, we could get rid of DigitalTrackInfo and its subclasses.
* This in turn would make it easiert to extend the Audio CD Manager with e.g. WAV or VOR support (essentially, the WAV/VOC code would need to be enhanced by adding a factory function similar to that provided for the FLAC/Vorbis/MP3 streams).


==== MIDI ====
==== MIDI ====
1,079

edits