4 <title>vorbisfile - function - ov_serialnumber</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>vorbisfile documentation</p></td>
12 <td align=right><p class=tiny>vorbisfile version 1.25 - 20000615</p></td>
16 <h1>ov_serialnumber</h1>
18 <p><i>declared in "vorbis/vorbisfile.h";</i></p>
20 <p>Returns the serialnumber of the specified logical bitstream.
23 <table border=0 color=black cellspacing=0 cellpadding=7>
27 long ov_serialnumber(OggVorbis_File *vf,int i);
36 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible vorbisfile
37 functions. Once this has been called, the same <tt>OggVorbis_File</tt>
38 struct should be passed to all the vorbisfile functions.</dd>
40 <dd><b>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.</b></dd>
44 <h3>Return Values</h3>
47 -1 if the specified logical bitstream <i>i</i> does not exist.</li>
49 <li>Returns the serial number of the logical bitstream <i>i</i> or the serial number of the current bitstream if the file is nonseekable.</li>
54 <table border=0 width=100%>
56 <td><p class=tiny>copyright © 2000 vorbis team</p></td>
57 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@vorbis.org">team@vorbis.org</a></p></td>
59 <td><p class=tiny>vorbisfile documentation</p></td>
60 <td align=right><p class=tiny>vorbisfile version 1.25 - 20000615</p></td>