4 <title>libogg - function - ogg_page_granulepos</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libogg documentation</p></td>
12 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
16 <h1>ogg_page_granulepos</h1>
18 <p><i>declared in "ogg/ogg.h";</i></p>
20 <p>Returns the exact granular position of the packet data contained at the end of this page.
21 <p>This is useful for tracking location when seeking or decoding.
22 <p>For example, in audio codecs this position is the pcm sample number and in video this is the frame number.
25 <table border=0 color=black cellspacing=0 cellpadding=7>
29 int ogg_page_granulepos(ogg_page *og);
39 <dd>Pointer to the current ogg_page struct.</dd>
43 <h3>Return Values</h3>
46 <i>n</i> is the specific last granular position of the decoded data contained in the page.</li>
52 <table border=0 width=100%>
54 <td><p class=tiny>copyright © 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>
57 <td><p class=tiny>libogg documentation</p></td>
58 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>