[vorbis-dev] ogg_stream_packetout() and stream mixing

Michael Smith msmith at labyrinth.net.au
Sun Feb 11 13:08:29 PST 2001



At 03:56 PM 2/11/01 -0500, you wrote:
>Just to make sure, if I'm mixing 2 streams at the page level, and using
>ogg_stream_pagein() and ogg_stream_packetout() to extract them, I need
>two ogg_stream_states, one for each logical stream, and I need to ensure
>that each ogg_stream_state only sees pages of it's own type, is that
>right?

Correct. You switch based on the serial number of each page.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list