monty at xiph.org
Tue May 19 12:08:35 PDT 2009
On Mon, May 18, 2009 at 12:27 PM, Engineering <engineering at wwrn.net> wrote:
> How does the ogg_page_bos function work? I call this function directly
> after calling ogg_sync_pageout. It works. Then I place a guard around it
> until the start of a new stream (chain mode). If this is the start of a
> new stream, should it return zero after the next call. I looked in
> ogg_page structure to see if there is a member named b_o_s, but I did
> not see anything. What is being used to determine BOS when the
> ogg_page_bos function is called?
To give a little more flesh to ogg.k's answer, see
http://xiph.org/ogg/doc/framing.html and the section 'page header'.
The page header bytes have a bit flag that declares the beginning of
More information about the ogg-dev