[Vorbis-dev] Help recording from PCM stream and silence.

Jim Buschman jim.buschman at gmail.com
Thu Dec 13 18:17:32 PST 2007


no, i don't seem to ever get an eos page

On Dec 13, 2007 4:01 PM, Ralph Giles <giles at xiph.org> wrote:

> On Thu, Dec 13, 2007 at 03:58:56PM -1000, Jim Buschman wrote:
>
>
> > ogg_stream_packetin(oggStream,oggPacket);
> >
> > int result=ogg_stream_pageout(oggStream,oggPage);
>
> You should loop separately on result here, until there are no more
> pages, but that's probably not the problem.
>
> > And if i'm reading what you said correctly, when i do the " if
> (result==0) "
> > check i should call ogg_stream_flush before i break?
>
> Do you ever get an eos page?
>
>  -r
>
>


-- 
~Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20071213/3ecfd662/attachment.htm


More information about the Vorbis-dev mailing list