libogg documentation

libogg version 1.25 - 20000615

ogg_sync_state

declared in "ogg/ogg.h"

The ogg_sync_state struct tracks the synchronization of the current page.

It is used during decoding to track the status of data as it is read in and



typedef struct {

  unsigned char *data;

  int storage;

  int fill;

  int returned;



  int unsynced;

  int headerbytes;

  int bodybytes;

} ogg_sync_state;

Relevant Struct Members

data
Pointer to data from packet bodies.
storage
Pointer to data from packet bodies.



copyright © 2000 xiph.org

Ogg Vorbis
team@xiph.org

libogg documentation

libogg version 1.25 - 20000615