home *** CD-ROM | disk | FTP | other *** search
- <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
- <!-- available at http://polyglotman.sourceforge.net/ -->
-
- <html>
- <head>
- <title>"SDL_CDtrack"("3") manual page</title>
- </head>
- <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
- <a href='#toc'>Table of Contents</a><p>
-
- <h2><a name='sect0' href='#toc0'>Name</a></h2>
- SDL_CDtrack- CD Track Information Structure
- <h2><a name='sect1' href='#toc1'>Structure Definition</a></h2>
- <p>
- <br>
- <pre>CWtypedef struct{
- Uint8 id;
- Uint8 type;
- Uint32 length;
- Uint32 offset;
- } SDL_CDtrack;
- </pre><p>
-
- <h2><a name='sect2' href='#toc2'>Structure Data</a></h2>
-
- <dl>
-
- <dt><b>id</b> </dt>
- <dd>Track number (0-99) </dd>
-
- <dt><b>type</b> </dt>
- <dd><b>SDL_AUDIO_TRACK</b> or <b>SDL_DATA_TRACK</b>
- </dd>
-
- <dt><b>length</b> </dt>
- <dd>Length, in frames, of this track </dd>
-
- <dt><b>offset</b> </dt>
- <dd>Frame offset to the beginning
- of this track </dd>
- </dl>
-
- <h2><a name='sect3' href='#toc3'>Description</a></h2>
- <p>
- <b>SDL_CDtrack</b> stores data on each track on a CD,
- its fields should be pretty self explainatory. It is a member a the <i><b>SDL_CD</b></i>
- structure. <p>
- <blockquote><b>Note: <p>
- Frames can be converted to standard timings. There are
- <b>CD_FPS</b></b> frames per second, so <b>SDL_CDtrack</b>.<b>length</b>/<b>CD_FPS</b>=length_in_seconds.
- </blockquote>
-
- <h2><a name='sect4' href='#toc4'>See Also</a></h2>
- <p>
- <i><b>SDL_CD</b></i>
- <!--
-
- <p>
-
- <hr><p>
- <a name='toc'><b>Table of Contents</b></a><p>
- <ul>
- <li><a name='toc0' href='#sect0'>Name</a></li>
- <li><a name='toc1' href='#sect1'>Structure Definition</a></li>
- <li><a name='toc2' href='#sect2'>Structure Data</a></li>
- <li><a name='toc3' href='#sect3'>Description</a></li>
- <li><a name='toc4' href='#sect4'>See Also</a></li>
- </ul>
- </body>
- </html>
-