00001 <html> 00002 00003 <head> 00004 <title>libogg - datatype - ogg_sync_state</title> 00005 <link rel=stylesheet href="style.css" type="text/css"> 00006 </head> 00007 00008 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 00009 <table border=0 width=100%> 00010 <tr> 00011 <td><p class=tiny>libogg documentation</p></td> 00012 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>ogg_sync_state</h1> 00017 00018 <p><i>declared in "ogg/ogg.h"</i></p> 00019 00020 <p> 00021 The ogg_sync_state struct tracks the synchronization of the current page. 00022 <p>It is used during decoding to track the status of data as it is read in and 00023 <p> 00024 00025 <table border=0 width=100% color=black cellspacing=0 cellpadding=7> 00026 <tr bgcolor=#cccccc> 00027 <td> 00028 <pre><b> 00029 typedef struct { 00030 unsigned char *data; 00031 int storage; 00032 int fill; 00033 int returned; 00034 00035 int unsynced; 00036 int headerbytes; 00037 int bodybytes; 00038 } ogg_sync_state; 00039 </b></pre> 00040 </td> 00041 </tr> 00042 </table> 00043 00044 <h3>Relevant Struct Members</h3> 00045 <dl> 00046 <dt><i>data</i></dt> 00047 <dd>Pointer to data from packet bodies.</dd> 00048 <dt><i>storage</i></dt> 00049 <dd>Pointer to data from packet bodies.</dd> 00050 </dl> 00051 00052 00053 <br><br> 00054 <hr noshade> 00055 <table border=0 width=100%> 00056 <tr valign=top> 00057 <td><p class=tiny>copyright © 2000 xiph.org</p></td> 00058 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@xiph.org">team@xiph.org</a></p></td> 00059 </tr><tr> 00060 <td><p class=tiny>libogg documentation</p></td> 00061 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td> 00062 </tr> 00063 </table> 00064 00065 </body> 00066 00067 </html>