[Clam-devel] Ogg seeking

Pau Arumí Albó parumi at iua.upf.edu
Tue Jun 2 22:48:30 PDT 2009

David, are you sure that refactoring and enriching
Mono/MultiChannelFilePlayer is worth the efford, compared to keep
SndfilePlayer evolving (and changing its name)? 
The latest was ment to be a replacement using a much simpler approach.
Anyway, lets talk about it at the office.


El dt 02 de 06 de 2009 a les 15:11 +0200, en/na David García Garzón va
> At last, so many refactorings lead to features.
> * MonoAudioFileReader seek control that seeks on PCMs and OGGs, not in MP3 yet
> * MonoAudioFileReader has time, frame and progress controls (all formats)
> The idea is merging most of the SndFile stuff. Look free disk access will force 
> to evolve even more the AudioCodec::Stream interface which is perfect.
> Regarding MultiChannelAudioFileReader, i really learned to hate the channel 
> selection complexity which i guess nobody uses but the tests and few examples. 
> It has no sense at all selecting the channels you want to write on a 
> multichannel file. And if you are reading just ignore the ports. I propose to 
> implement the channel policy of the one SndFilePlayer/Writer. I would also 
> suggest to name it AudioFileReader/Writer, that is, removing the 
> 'MultiChannel' prefix.
> So the related TODO's on the stack are:
> - Integrate LockFree features (almost extracted as classes already)
> - MP3 seek (i guess that codec's lenght computation has some hints)
> - Being able to write Float wavs (means racionalizying format selection as in 
> SndFileWriter).
> - Refactor the codecs
> - SampleRate adaptation

More information about the clam-devel mailing list