Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/libogg-1.1.3/doc/libogg/ogg_stream_packetin.html @ 15

Last change on this file since 15 was 15, checked in by landauf, 17 years ago

added libogg

File size: 1.6 KB
Line 
1<html>
2
3<head>
4<title>libogg - function - ogg_stream_packetin</title>
5<link rel=stylesheet href="style.css" type="text/css">
6</head>
7
8<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9<table border=0 width=100%>
10<tr>
11<td><p class=tiny>libogg documentation</p></td>
12<td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
13</tr>
14</table>
15
16<h1>ogg_stream_packetin</h1>
17
18<p><i>declared in "ogg/ogg.h";</i></p>
19
20<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.
21<p>In a typical decoding situation, this should be used after filling a packet with data
22
23<br><br>
24<table border=0 color=black cellspacing=0 cellpadding=7>
25<tr bgcolor=#cccccc>
26        <td>
27<pre><b>
28int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op);
29</b></pre>
30        </td>
31</tr>
32</table>
33
34<h3>Parameters</h3>
35<dl>
36<dt><i>os</i></dt>
37<dd>Pointer to a previously declared <a href="ogg_stream_state.html">ogg_stream_state</a> struct.</dd>
38<dt><i>op</i></dt>
39<dd>Pointer to the packet we are putting into the bitstream.
40</dl>
41
42
43<h3>Return Values</h3>
44<blockquote>
45<li>
460 is always returned.</li>
47</blockquote>
48<p>
49
50<br><br>
51<hr noshade>
52<table border=0 width=100%>
53<tr valign=top>
54<td><p class=tiny>copyright &copy; 2000 xiph.org</p></td>
55<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>
56</tr><tr>
57<td><p class=tiny>libogg documentation</p></td>
58<td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
59</tr>
60</table>
61
62
63</body>
64
65</html>
Note: See TracBrowser for help on using the repository browser.