4 <title>libogg - function - ogg_sync_clear</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libogg documentation</p></td>
12 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
16 <h1>ogg_sync_clear</h1>
18 <p><i>declared in "ogg/ogg.h";</i></p>
20 <p>This function is used to free the internal storage of an <a href="ogg_sync_state.html">ogg_sync_state</a> struct and resets the struct to the initial state. To free the entire struct, <a href="ogg_sync_destroy.html">ogg_sync_destroy</a> should be used instead. In situations where the struct needs to be reset but the internal storage does not need to be freed, <a href="ogg_sync_reset.html">ogg_sync_reset</a> should be used.
23 <table border=0 color=black cellspacing=0 cellpadding=7>
27 int ogg_sync_clear(<a href="ogg_sync_state.html">ogg_sync_state</a> *oy);
36 <dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd>
40 <h3>Return Values</h3>
43 0 is always returned.</li>
49 <table border=0 width=100%>
51 <td><p class=tiny>copyright © 2000 xiph.org</p></td>
52 <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>
54 <td><p class=tiny>libogg documentation</p></td>
55 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>