00001 <html> 00002 00003 <head> 00004 <title>libogg - function - ogg_stream_reset</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 - 20020719</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>ogg_stream_reset</h1> 00017 00018 <p><i>declared in "ogg/ogg.h";</i></p> 00019 00020 <p>This function reinitializes the values in the 00021 <a href="ogg_stream_state.html">ogg_stream_state</a>, 00022 just like <a href="ogg_stream_reset.html">ogg_stream_reset()</a>. 00023 Additionally, it sets the stream serial number to the given value.</p> 00024 00025 <br><br> 00026 <table border=0 color=black cellspacing=0 cellpadding=7> 00027 <tr bgcolor=#cccccc> 00028 <td> 00029 <pre><b> 00030 int ogg_stream_reset(ogg_stream_state *os, int serialno); 00031 </b></pre> 00032 </td> 00033 </tr> 00034 </table> 00035 00036 <h3>Parameters</h3> 00037 <dl> 00038 <dt><i>os</i></dt> 00039 <dd>Pointer to the ogg_stream_state struct to be cleared.</dd> 00040 <dt><i>serialno</i></dt> 00041 <dd>New stream serial number to use</dd> 00042 </dl> 00043 00044 00045 <h3>Return Values</h3> 00046 <blockquote> 00047 <li> 00048 0 is always returned.</li> 00049 </blockquote> 00050 <p> 00051 00052 <br><br> 00053 <hr noshade> 00054 <table border=0 width=100%> 00055 <tr valign=top> 00056 <td><p class=tiny>copyright © 2002 Xiph.org Foundation</p></td> 00057 <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> 00058 </tr><tr> 00059 <td><p class=tiny>libogg documentation</p></td> 00060 <td align=right><p class=tiny>libogg release 1.0 - 20020719</p></td> 00061 </tr> 00062 </table> 00063 00064 00065 </body> 00066 00067 </html>