search for: flgeospag

Displaying 1 result from an estimated 1 matches for "flgeospag".

Did you mean: flgeospage
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...= ogg_stream_create(-1); // CAUTION: Just about anything you do wrong pops a bus error. // You need to be fairly aggressive about checking return codes // and initializing properly. int flgBailError = 0; int pageCount = -1; int flgPacketsConsumed = 0; int packetCount = -1; int flgEOSPage = 0; while(!flgBailError) { dprintf("Page: %d\n", pageCount); if (pageCount != -1) { if (pageCount == 0) { // FIXME: Silly pageCount used to indicate serial number change // because ogg_stream_pagein does braindead release on error and // ogg_page_bos() doesn't s...