search for: sync_stat

Displaying 5 results from an estimated 5 matches for "sync_stat".

Did you mean: sync_state
2001 Feb 22
1
ogg_sync_state with interleaved logical streams
Hi all, I'm mixing logical streams at the page level. One stream has vorbis data, the other has my own data. Do I need two ogg_sync_states or just one? Thanks, Martin --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject...
2010 Jan 06
1
Initializing vorbis using ov_open_callbacks fail with OV_ENOTVORBIS. But why?
Dear members, since two weeks I am stuck, trying to demux a physical ogg stream (theora and vorbis) and play the audio part using vorbisfile. I hope that one of you can give me a hint or point me to additional documentation. I used ogg.h and vorbisfile.h. The way so far: - initializing an ogg_sync_state - inserting data to sync_state using ogg_sync_buffer - when whole page found (ogg_sync_pageseek(&sync, &page) > 0) I initialize a ogg_stream_state and add page using ogg_stream_packetin. (in the case the first packet is vorbis - ogg_stream_packetout and check for first some bytes) -...
2006 Dec 07
2
page syncing and magic OggS
...nd noting when the resulting page changes.) Is this what ogg_sync_page_seek is for? I can't quite work out from the documentation what it does. http://xiph.org/ogg/doc/libogg/ogg_sync_pageseek.html Does the sequence go, get a page, find a nearby 'OggS', put data from that point into a sync_state and ask pageseek whether we're in the right place? -- imalone
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...back_wrapper( } else if (ret == 0) { /* need more data */ - const size_t ogg_bytes_to_read = max(bytes_requested - *bytes, OGG_BYTES_CHUNK); + const size_t ogg_bytes_to_read = flac_max(bytes_requested - *bytes, OGG_BYTES_CHUNK); char *oggbuf = ogg_sync_buffer(&aspect->sync_state, ogg_bytes_to_read); if(0 == oggbuf) { diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index 6f96023..5b3c3cd 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -59,11 +59,7 @@ #include "private/lpc.h" #include "private/...
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...aspect.c:34: ./include/private/ogg_decoder_aspect.h:46: error: parse error before "ogg_stream_state" ./include/private/ogg_decoder_aspect.h:46: warning: no semicolon at end of struct or union ./include/private/ogg_decoder_aspect.h:47: warning: type defaults to `int' in declaration of `sync_state' ./include/private/ogg_decoder_aspect.h:47: warning: data definition has no type or storage class ./include/private/ogg_decoder_aspect.h:52: error: parse error before "working_page" ./include/private/ogg_decoder_aspect.h:52: warning: type defaults to `int' in declaration of `work...