00001 <html> 00002 00003 <head> 00004 <title>Tremor - function - ov_info</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>Tremor documentation</p></td> 00012 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>ov_info</h1> 00017 00018 <p><i>declared in "ivorbisfile.h";</i></p> 00019 00020 <p>Returns the <a href="vorbis_info.html">vorbis_info</a> struct for the specified bitstream. For nonseekable files, always returns the current vorbis_info struct. 00021 00022 <br><br> 00023 <table border=0 color=black cellspacing=0 cellpadding=7> 00024 <tr bgcolor=#cccccc> 00025 <td> 00026 <pre><b> 00027 vorbis_info *ov_info(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf,int link); 00028 </b></pre> 00029 </td> 00030 </tr> 00031 </table> 00032 00033 <h3>Parameters</h3> 00034 <dl> 00035 <dt><i>vf</i></dt> 00036 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec 00037 functions. </dd> 00038 <dt><i>i</i></dt> 00039 <dd>Link to the desired logical bitstream. For nonseekable files, this argument is ignored. To retrieve the <a href="vorbis_info.html">vorbis_info</a> struct for the current bitstream, this parameter should be set to -1.</dd> 00040 </dl> 00041 00042 00043 <h3>Return Values</h3> 00044 <blockquote> 00045 <li>Returns the vorbis_info struct for the specified bitstream. Returns vorbis_info for current bitstream if the file is nonseekable or i=-1.</li> 00046 <li>NULL if the specified bitstream does not exist or the file has been initialized improperly.</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 © 2002 Xiph.org</p></td> 00055 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td> 00056 </tr><tr> 00057 <td><p class=tiny>Tremor documentation</p></td> 00058 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> 00059 </tr> 00060 </table> 00061 00062 </body> 00063 00064 </html>