[Tremor] Speculative buffering of streams

Nate Weibley nweibley at gmail.com
Wed Nov 19 17:43:19 PST 2008


Monty et al,
In reference to the discussion here:
http://lists.xiph.org/pipermail/tremor/2008-October/001486.html

And the problem being tracked here:
http://bugs.slimdevices.com/show_bug.cgi?id=7857

I've begun to research methods for the 'speculative buffering' of streams
that Monty was talking about in late October. Specifically right now I'm
focused on implementing a method to eschew buffering the comment header,
however I'm trying to make sure that anything I do can be easily implemented
in the future for other bitstream operations.

So far my plan has been to implement an array of "buffer control switches"
on the OggVorbis_File struct. It may make sense to have a few
statically-defined tokens (ex: OGG_NOBUF_COMMENTS) that can be used (the
full ideal implementation, from what I understand of Monty's previous
comments, should be able to block buffering on only certain streams or
portions of a stream inside any given vorbis file).



More information about the Tremor mailing list