[Vorbis-dev] Help recording from PCM stream and silence.
giles at xiph.org
Thu Dec 13 17:34:12 PST 2007
Without seeing code, I'd suggest making sure you're flushing *all* the
pages out of the ogg_stream and writing them out. Silence compresses
well, so if you don't call 'ogg_stream_flush' you may not see a page for
Note that for streamability you should always call ogg_stream_flush
if ogg_stream_pageout hasn't returned a page in more than a couple
seconds of input data. libogg isn't smart enough to handle this for you,
and it can cause underruns when streaming.
More information about the Vorbis-dev