[Tremor] ogg and vorbis segregation

Ravi Lakkundi ravilakkundi at yahoo.co.in
Thu Sep 15 02:34:26 PDT 2005


Hi,

Well that means that its not possible to write a
decoder woth the API's such that we fill packet into a
buffer and then decode it? How about in the API whr we
read a packet we make all these checks so that to the
decode_packet API we can have a proper packet?

But this might require an input buffer of page size
and more. 

Ravi

> Yes, the decoder does the synthesis packet by
> packet. But if your application is going to fill
> your input buffer with only one packet at a time how
> are you going to take care of the checksum? In Ogg
> Vorbis only the pages have headers not the audio
> packets. Which means the check sum is calculated for
> the whole page. When you calculate the checksum
> parallely you are already through with part of the
> page which is not a friendly condition for that
> application.


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com


More information about the Tremor mailing list