Displaying 1 result from an estimated 1 matches for "o_rv0".
Did you mean:
s_rv0
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...ufferin(oy, BCHUNKSIZE);
long bytesRead = fread(bb, 1, BCHUNKSIZE, stdin);
dprintf("Consumed: %ld bytes\n", bytesRead);
if (bytesRead == 0) {
// For now, EOF
return(-1);
}
ogg_sync_wrote(oy, bytesRead);
bytesConsumed += bytesRead;
return(0);
}
int main() {
int o_rv0 = 0;
int o_dr0 = 0;
int s_rv0 = 0;
// These abbreviations use the ogg internal conventions
// Caution: libogg uses NULL as a sentinel in places. If you feed non-NULL,
// on initial calls you can get into trouble
// OGG data structures
ogg_sync_state *oy = NULL;
// FIXME: Why is...