]> git.jsancho.org Git - lugaru.git/blob - libogg-1.0/doc/ogg/ogg_sync_wrote.html
Added (more or less) demo data files.
[lugaru.git] / libogg-1.0 / doc / ogg / ogg_sync_wrote.html
1 <html>
2
3 <head>
4 <title>libogg - function - ogg_sync_wrote</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_sync_wrote</h1>
17
18 <p><i>declared in "ogg/ogg.h";</i></p>
19
20 <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. 
21
22 <br><br>
23 <table border=0 color=black cellspacing=0 cellpadding=7>
24 <tr bgcolor=#cccccc>
25         <td>
26 <pre><b>
27 int ogg_sync_destroy(<a href="ogg_sync_state.html">ogg_sync_state</a> *oy);
28 </b></pre>
29         </td>
30 </tr>
31 </table>
32
33 <h3>Parameters</h3>
34 <dl>
35 <dt><i>oy</i></dt>
36 <dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd>
37 </dl>
38
39
40 <h3>Return Values</h3>
41 <blockquote>
42 <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.
43 <li>
44 0 in all other cases.</li>
45 </blockquote>
46 <p>
47
48 <br><br>
49 <hr noshade>
50 <table border=0 width=100%>
51 <tr valign=top>
52 <td><p class=tiny>copyright &copy; 2000 xiph.org</p></td>
53 <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 </tr><tr>
55 <td><p class=tiny>libogg documentation</p></td>
56 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
57 </tr>
58 </table>
59
60
61 </body>
62
63 </html>