examples/SFExamples/oggvorbiscodec/src/libogg/doc/ogg/ogg_page_granulepos.html

00001 <html>
00002 
00003 <head>
00004 <title>libogg - function - ogg_page_granulepos</title>
00005 <link rel=stylesheet href="style.css" type="text/css">
00006 </head>
00007 
00008 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
00009 <table border=0 width=100%>
00010 <tr>
00011 <td><p class=tiny>libogg documentation</p></td>
00012 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
00013 </tr>
00014 </table>
00015 
00016 <h1>ogg_page_granulepos</h1>
00017 
00018 <p><i>declared in "ogg/ogg.h";</i></p>
00019 
00020 <p>Returns the exact granular position of the packet data contained at the end of this page.
00021 <p>This is useful for tracking location when seeking or decoding.
00022 <p>For example, in audio codecs this position is the pcm sample number and in video this is the frame number.
00023 <p>
00024 <br><br>
00025 <table border=0 color=black cellspacing=0 cellpadding=7>
00026 <tr bgcolor=#cccccc>
00027         <td>
00028 <pre><b>
00029 int ogg_page_granulepos(ogg_page *og);
00030 
00031 </b></pre>
00032         </td>
00033 </tr>
00034 </table>
00035 
00036 <h3>Parameters</h3>
00037 <dl>
00038 <dt><i>og</i></dt>
00039 <dd>Pointer to the current ogg_page struct.</dd>
00040 </dl>
00041 
00042 
00043 <h3>Return Values</h3>
00044 <blockquote>
00045 <li>
00046 <i>n</i> is the specific last granular position of the decoded data contained in the page.</li>
00047 </blockquote>
00048 <p>
00049 
00050 <br><br>
00051 <hr noshade>
00052 <table border=0 width=100%>
00053 <tr valign=top>
00054 <td><p class=tiny>copyright &copy; 2000 xiph.org</p></td>
00055 <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>
00056 </tr><tr>
00057 <td><p class=tiny>libogg documentation</p></td>
00058 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
00059 </tr>
00060 </table>
00061 
00062 
00063 </body>
00064 
00065 </html>

Generated by  doxygen 1.6.2