[Vorbis-dev] Help recording from PCM stream and silence.
Ralph Giles
giles at xiph.org
Thu Dec 13 20:06:06 PST 2007
On Thu, Dec 13, 2007 at 05:59:09PM -1000, Jim Buschman wrote:
> When is ogg_stream_pageout ever a even number? It's always either 0 or 1.
By some definitions, 0 is an even number? :)
What I meant was that while it only returns 0 or 1, the general scheme
in the library is 0 for 'no more results' and a negative value if
there's an error. so checking for > 0 might be more future proof. It
doesn't matter much.
-r
More information about the Vorbis-dev
mailing list