00001 <html> 00002 00003 <head> 00004 <title>libogg - function - ogg_sync_wrote</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_wrote</h1> 00017 00018 <p><i>declared in "ogg/ogg.h";</i></p> 00019 00020 <p>This function is used to tell the <a href="ogg_sync_state.html">ogg_sync_state</a> struct how many bytes we wrote into the buffer. 00021 00022 <br><br> 00023 <table border=0 color=black cellspacing=0 cellpadding=7> 00024 <tr bgcolor=#cccccc> 00025 <td> 00026 <pre><b> 00027 int ogg_sync_destroy(<a href="ogg_sync_state.html">ogg_sync_state</a> *oy); 00028 </b></pre> 00029 </td> 00030 </tr> 00031 </table> 00032 00033 <h3>Parameters</h3> 00034 <dl> 00035 <dt><i>oy</i></dt> 00036 <dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd> 00037 </dl> 00038 00039 00040 <h3>Return Values</h3> 00041 <blockquote> 00042 <li>-1 if the number of bytes written overflows the internal storage of the <a href="ogg_sync_state.html">ogg_sync_state</a> struct. 00043 <li> 00044 0 in all other cases.</li> 00045 </blockquote> 00046 <p> 00047 00048 <br><br> 00049 <hr noshade> 00050 <table border=0 width=100%> 00051 <tr valign=top> 00052 <td><p class=tiny>copyright © 2000 xiph.org</p></td> 00053 <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> 00054 </tr><tr> 00055 <td><p class=tiny>libogg documentation</p></td> 00056 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td> 00057 </tr> 00058 </table> 00059 00060 00061 </body> 00062 00063 </html>