[Vorbis-dev] A few questions how to use libogg

Ian Malone ibm21 at cam.ac.uk
Fri Dec 9 04:04:41 PST 2005


Ian Malone wrote:
> Arjan Knepper wrote:
> 

<snip>

>>
> 

>> 3.) Do I need to manually set the e_o_s of the last packet added?
>>
> 
> Yes (and b_o_s on the first one), libogg is codec agnostic; this is
> how you communicate facts like {b,e}_o_s to it.
> 

Although, this being vorbis-dev, it's worth adding that responsibility
lies with the packet generator. So, for example, the vorbis library
does it for you (see encoder_example.c lines 185--90 and 231--4 in
trunk/vorbis/examples).

-- 
imalone


More information about the Vorbis-dev mailing list