Displaying 4 results from an estimated 4 matches for "ogg_stream_destroy".
Did you mean:
o_stream_destroy
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...dr0 = grabData(oy);
if (o_dr0 < 0) {
dprintf("Data error encountered.\n");
flgBailError = 1;
}
}
}
}
if (flgEOSPage) {
// More data might still available, reset system
flgEOSPage = 0;
pageCount = -1;
packetCount = -1;
ogg_stream_destroy(os);
os = ogg_stream_create(-1);
}
}
dprintf("System bailing\n");
// System has bailed -- clean up
ogg_stream_destroy(os);
ogg_page_release(og);
ogg_sync_destroy(oy);
dprintf("Done. Consumed: %ld\n", bytesConsumed);
return(0);
}
-------------- nex...
2004 Aug 06
1
ultra-preliminary C++ wrapper for ogg & vorbis
Hi.
I'm working on a very simple C++ wrapper for parts of libogg and
libvorbis; I thought I would expose it for initial comments and the
generally curious.
No conveniences, no frills. No helpful higher-level abstractions. Just
a translation from ogg_method_foo(ogg_method* data) to classes that hold
the ogg_stream_state etc., so you may type mypage.bos() instead of
2007 Apr 14
0
Discontinuous stream support in libogg1
...,6 +214,15 @@
return(0);
}
+int ogg_stream_setdiscont(ogg_stream_state *os){
+ /* Discont mode must be known and set before Page 1 is processed */
+ if(os->pageno==0/*||(os->pageno==1&&os->packets==0)*/){
+ os->discont=1;
+ return(0);
+ }
+ return(-1);
+}
+
int ogg_stream_destroy(ogg_stream_state *os){
if(os){
ogg_stream_clear(os);
@@ -304,7 +313,7 @@
/* Store lacing vals for this packet */
for(i=0;i<lacing_vals-1;i++){
os->lacing_vals[os->lacing_fill+i]=255;
- os->granule_vals[os->lacing_fill+i]=os->granulepos;
+ os->granule_va...
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
...pears in.)
framing.c: At top level:
framing.c:206: parse error before '*' token
framing.c: In function `ogg_stream_clear':
framing.c:207: `os' undeclared (first use in this function)
framing.c: At top level:
framing.c:217: parse error before '*' token
framing.c: In function `ogg_stream_destroy':
framing.c:218: `os' undeclared (first use in this function)
framing.c: At top level:
framing.c:228: parse error before '*' token
framing.c: In function `_os_body_expand':
framing.c:229: `os' undeclared (first use in this function)
framing.c:229: `needed' undeclared (fi...