Line | |
---|
1 | <html> |
---|
2 | |
---|
3 | <head> |
---|
4 | <title>libogg - function - ogg_page_granulepos</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_page_granulepos</h1> |
---|
17 | |
---|
18 | <p><i>declared in "ogg/ogg.h";</i></p> |
---|
19 | |
---|
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. |
---|
23 | <p> |
---|
24 | <br><br> |
---|
25 | <table border=0 color=black cellspacing=0 cellpadding=7> |
---|
26 | <tr bgcolor=#cccccc> |
---|
27 | <td> |
---|
28 | <pre><b> |
---|
29 | int ogg_page_granulepos(ogg_page *og); |
---|
30 | |
---|
31 | </b></pre> |
---|
32 | </td> |
---|
33 | </tr> |
---|
34 | </table> |
---|
35 | |
---|
36 | <h3>Parameters</h3> |
---|
37 | <dl> |
---|
38 | <dt><i>og</i></dt> |
---|
39 | <dd>Pointer to the current ogg_page struct.</dd> |
---|
40 | </dl> |
---|
41 | |
---|
42 | |
---|
43 | <h3>Return Values</h3> |
---|
44 | <blockquote> |
---|
45 | <li> |
---|
46 | <i>n</i> is the specific last granular position of the decoded data contained in the page.</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 © 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.