VirtualBox

source: vbox/trunk/src/libs/libogg-1.3.5/doc/libogg/ogg_sync_pageseek.html@ 97642

Last change on this file since 97642 was 96360, checked in by vboxsync, 2 years ago

libogg, libvorbis: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1<html>
2
3<head>
4<title>libogg - function - ogg_sync_pageseek</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.3.5 - 20210603</p></td>
13</tr>
14</table>
15
16<h1>ogg_sync_pageseek</h1>
17
18<p><i>declared in "ogg/ogg.h";</i></p>
19
20<p>This function synchronizes the ogg_sync_state struct to the next ogg_page.
21 <p>This is useful when seeking within a bitstream. ogg_sync_pageseek will synchronize to the next page in the bitstream and return information about how many bytes we advanced or skipped in order to do so.
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_sync_pageseek(<a href="ogg_sync_state.html">ogg_sync_state</a> *oy, <a href="ogg_page.html">ogg_page</a> *og);
29</b></pre>
30 </td>
31</tr>
32</table>
33
34<h3>Parameters</h3>
35<dl>
36<dt><i>oy</i></dt>
37<dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd>
38<dt><i>og</i></dt>
39<dd>Pointer to a page (or an incomplete page) of data. This is the page we are attempting to sync.
40</dl>
41
42
43<h3>Return Values</h3>
44<blockquote>
45<li>-n means that we skipped n bytes within the bitstream.</li>
46<li>
470 means that the page isn't ready and we need more data, or than an internal error occurred. No bytes have been skipped.</li>
48<li>
49n means that the page was synced at the current location, with a page length of n bytes.
50</blockquote>
51<p>
52
53<br><br>
54<hr noshade>
55<table border=0 width=100%>
56<tr valign=top>
57<td><p class=tiny>copyright &copy; 2000-2021 Xiph.Org Foundation</p></td>
58<td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
59</tr><tr>
60<td><p class=tiny>libogg documentation</p></td>
61<td align=right><p class=tiny>libogg release 1.3.5 - 20210603</p></td>
62</tr>
63</table>
64
65
66</body>
67
68</html>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette