home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_CDtrack.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.8 KB  |  71 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_CDtrack"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_CDtrack- CD Track Information Structure 
  13. <h2><a name='sect1' href='#toc1'>Structure Definition</a></h2>
  14. <p>
  15. <br>
  16. <pre>CWtypedef struct{
  17.   Uint8 id;
  18.   Uint8 type;
  19.   Uint32 length;
  20.   Uint32 offset;
  21. } SDL_CDtrack;
  22. </pre><p>
  23.  
  24. <h2><a name='sect2' href='#toc2'>Structure Data</a></h2>
  25.  
  26. <dl>
  27.  
  28. <dt><b>id</b> </dt>
  29. <dd>Track number (0-99) </dd>
  30.  
  31. <dt><b>type</b> </dt>
  32. <dd><b>SDL_AUDIO_TRACK</b> or <b>SDL_DATA_TRACK</b>
  33. </dd>
  34.  
  35. <dt><b>length</b> </dt>
  36. <dd>Length, in frames, of this track </dd>
  37.  
  38. <dt><b>offset</b> </dt>
  39. <dd>Frame offset to the beginning
  40. of this track </dd>
  41. </dl>
  42.  
  43. <h2><a name='sect3' href='#toc3'>Description</a></h2>
  44. <p>
  45. <b>SDL_CDtrack</b> stores data on each track on a CD,
  46. its fields should be pretty self explainatory. It is a member a the <i><b>SDL_CD</b></i>
  47. structure. <p>
  48. <blockquote><b>Note:   <p>
  49. Frames can be converted to standard timings. There are
  50. <b>CD_FPS</b></b> frames per second, so <b>SDL_CDtrack</b>.<b>length</b>/<b>CD_FPS</b>=length_in_seconds.
  51. </blockquote>
  52.  
  53. <h2><a name='sect4' href='#toc4'>See Also</a></h2>
  54. <p>
  55. <i><b>SDL_CD</b></i> 
  56. <!--
  57.   
  58.  <p>
  59.  
  60. <hr><p>
  61. <a name='toc'><b>Table of Contents</b></a><p>
  62. <ul>
  63. <li><a name='toc0' href='#sect0'>Name</a></li>
  64. <li><a name='toc1' href='#sect1'>Structure Definition</a></li>
  65. <li><a name='toc2' href='#sect2'>Structure Data</a></li>
  66. <li><a name='toc3' href='#sect3'>Description</a></li>
  67. <li><a name='toc4' href='#sect4'>See Also</a></li>
  68. </ul>
  69. </body>
  70. </html>
  71.