search for: ogg_sync_destroy

Displaying 3 results from an estimated 3 matches for "ogg_sync_destroy".

2005 Jun 22
2
ogg_sync_pageout
...op of libvorbis, I'd love to use vorbisfile but sadly I can't. Is there a reasonable way to "rewind" without calling various resets and returning to the beginning of the file? It looks like I'd have to call: Ogg_sync_reset Vorbis_synthesis_restart Would you also need to call ogg_sync_destroy, and pretty much start over? Or is there a way you can feed it new data without destroying the buffer? Thanks a ton, Christopher
2008 Apr 27
1
initialization issues
I guess I'm missing something since the following minimized test case is failing: >>> #include "ogg/ogg.h" main() { ogg_sync_state the_ogg_sync_state; ogg_sync_init(&the_ogg_sync_state); ogg_sync_destroy( &the_ogg_sync_state ); } >>> $ gcc -g -logg test.c $ ./a.out *** glibc detected *** ./a.out: munmap_chunk(): invalid pointer: 0x00007fffe0562330 *** ======= Backtrace: ========= /lib/libc.so.6(cfree+0x1ac)[0x2ba7ca7d735c] /usr/lib/libogg.so.0(ogg_sync_destroy+0x16)[0x2ba7ca582d96]...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...if (rv0 == 0) { dprintf("Need more data...\n"); } dr0 = grabData(oy); if (dr0 < 0) { dprintf("Data error encountered.\n"); flgBail = 1; } } } } dprintf("System bailing\n"); // System has bailed -- clean up ogg_page_release(og); ogg_sync_destroy(oy); dprintf("Done. Consumed: %ld\n", bytesConsumed); return(0); } -------------- next part -------------- /* * Takes an ogg stream from stdin and reads all of the pages. * as well as all of the packets. It is capable of crossing * a boundary of a concatenated stream. * * It...