examples/sfexamples/oggvorbiscodec/src/libogg/doc/ogg/ogg_stream_packetin.html

00001 <html>
00002 
00003 <head>
00004 <title>libogg - function - ogg_stream_packetin</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_stream_packetin</h1>
00017 
00018 <p><i>declared in "ogg/ogg.h";</i></p>
00019 
00020 <p>This function takes a packet and submits it to the bitstream.  After this is called, we can continue submitting packets, or we can write out pages.
00021 <p>In a typical decoding situation, this should be used after filling a packet with data
00022 
00023 <br><br>
00024 <table border=0 color=black cellspacing=0 cellpadding=7>
00025 <tr bgcolor=#cccccc>
00026         <td>
00027 <pre><b>
00028 int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op);
00029 </b></pre>
00030         </td>
00031 </tr>
00032 </table>
00033 
00034 <h3>Parameters</h3>
00035 <dl>
00036 <dt><i>os</i></dt>
00037 <dd>Pointer to a previously declared <a href="ogg_stream_state.html">ogg_stream_state</a> struct.</dd>
00038 <dt><i>op</i></dt>
00039 <dd>Pointer to the packet we are putting into the bitstream.
00040 </dl>
00041 
00042 
00043 <h3>Return Values</h3>
00044 <blockquote>
00045 <li>
00046 0 is always returned.</li>
00047 </blockquote>
00048 <p>
00049 
00050 <br><br>
00051 <hr noshade>
00052 <table border=0 width=100%>
00053 <tr valign=top>
00054 <td><p class=tiny>copyright &copy; 2000 xiph.org</p></td>
00055 <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>
00056 </tr><tr>
00057 <td><p class=tiny>libogg documentation</p></td>
00058 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
00059 </tr>
00060 </table>
00061 
00062 
00063 </body>
00064 
00065 </html>

Generated by  doxygen 1.6.2