[Clam-devel] Re: Ogg seeking

David García Garzón dgarcia at iua.upf.edu
Tue Jun 2 06:17:39 PDT 2009


Mandatory screenshot:
http://clam-project.org/wiki/Image:SeekingOgg.png

The purple out control is the frame position (typed: unsigned long)
Maybe control types and names need more discussion.


A Dimarts, 2 de juny de 2009 15:11:52, David García Garzón va escriure:
> 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

-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot edu
http://www.iua.upf.edu/~dgarcia





More information about the clam-devel mailing list