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

Ralph Giles giles at xiph.org
Thu Dec 13 18:01:56 PST 2007

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?


More information about the Vorbis-dev mailing list