rb_cdio 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/VERSION +1 -1
  2. data/ext/CdIo.h +0 -9
  3. data/ext/CdIo_Cd.c +1 -1
  4. data/ext/CdIo_Cdda.c +7 -1
  5. data/ext/extconf.rb +6 -6
  6. data/ext/mkmf.log +45 -20
  7. data/test/{testbincue.rb → test_bincue.rb} +0 -0
  8. data/test/{testclose.rb → test_close.rb} +0 -0
  9. data/test/{testmethods.rb → test_methods.rb} +1 -1
  10. data/test/{testtoc.rb → test_toc.rb} +4 -2
  11. data/test/testall.rb +4 -4
  12. metadata +195 -406
  13. data/doc/classes/CdIo.html +0 -511
  14. data/doc/classes/CdIo.src/M000001.html +0 -17
  15. data/doc/classes/CdIo.src/M000002.html +0 -17
  16. data/doc/classes/CdIo.src/M000003.html +0 -17
  17. data/doc/classes/CdIo.src/M000004.html +0 -17
  18. data/doc/classes/CdIo.src/M000005.html +0 -17
  19. data/doc/classes/CdIo.src/M000006.html +0 -17
  20. data/doc/classes/CdIo.src/M000007.html +0 -17
  21. data/doc/classes/CdIo.src/M000008.html +0 -17
  22. data/doc/classes/CdIo/Cd.html +0 -348
  23. data/doc/classes/CdIo/Cd.src/M000020.html +0 -17
  24. data/doc/classes/CdIo/Cd.src/M000021.html +0 -17
  25. data/doc/classes/CdIo/Cd.src/M000022.html +0 -17
  26. data/doc/classes/CdIo/Cd.src/M000023.html +0 -17
  27. data/doc/classes/CdIo/Cd.src/M000024.html +0 -17
  28. data/doc/classes/CdIo/Cd.src/M000025.html +0 -17
  29. data/doc/classes/CdIo/Cd.src/M000026.html +0 -17
  30. data/doc/classes/CdIo/Cd.src/M000027.html +0 -17
  31. data/doc/classes/CdIo/Cd.src/M000028.html +0 -17
  32. data/doc/classes/CdIo/Cd.src/M000029.html +0 -17
  33. data/doc/classes/CdIo/Cd.src/M000030.html +0 -17
  34. data/doc/classes/CdIo/Cd.src/M000031.html +0 -17
  35. data/doc/classes/CdIo/Cd.src/M000032.html +0 -17
  36. data/doc/classes/CdIo/Cd.src/M000033.html +0 -17
  37. data/doc/classes/CdIo/Cd.src/M000034.html +0 -17
  38. data/doc/classes/CdIo/Cd.src/M000035.html +0 -17
  39. data/doc/classes/CdIo/Cdda.html +0 -428
  40. data/doc/classes/CdIo/Cdda.src/M000009.html +0 -17
  41. data/doc/classes/CdIo/Cdda.src/M000010.html +0 -17
  42. data/doc/classes/CdIo/Cdda.src/M000011.html +0 -17
  43. data/doc/classes/CdIo/Cdda.src/M000012.html +0 -17
  44. data/doc/classes/CdIo/Cdda.src/M000013.html +0 -17
  45. data/doc/classes/CdIo/Cdda.src/M000014.html +0 -17
  46. data/doc/classes/CdIo/Cdda.src/M000015.html +0 -17
  47. data/doc/classes/CdIo/Cdda.src/M000016.html +0 -17
  48. data/doc/classes/CdIo/Cdda.src/M000017.html +0 -17
  49. data/doc/classes/CdIo/Cdda.src/M000018.html +0 -17
  50. data/doc/classes/CdIo/Cdda.src/M000019.html +0 -17
  51. data/doc/classes/CdIo/Cdda.src/M000020.html +0 -17
  52. data/doc/classes/CdIo/Cdda.src/M000021.html +0 -17
  53. data/doc/classes/CdIo/Cdda.src/M000022.html +0 -17
  54. data/doc/classes/CdIo/Cdda.src/M000023.html +0 -17
  55. data/doc/classes/CdIo/Cdda.src/M000024.html +0 -17
  56. data/doc/classes/CdIo/Exception.html +0 -118
  57. data/doc/classes/CdIo/Exception/BadParameter.html +0 -111
  58. data/doc/classes/CdIo/Exception/BadPointer.html +0 -111
  59. data/doc/classes/CdIo/Exception/CddbConn.html +0 -111
  60. data/doc/classes/CdIo/Exception/CddbError.html +0 -111
  61. data/doc/classes/CdIo/Exception/Error.html +0 -111
  62. data/doc/classes/CdIo/Exception/NoDriver.html +0 -111
  63. data/doc/classes/CdIo/Exception/NotPermitted.html +0 -111
  64. data/doc/classes/CdIo/Exception/Unsupported.html +0 -111
  65. data/doc/classes/CdIo/Track.html +0 -246
  66. data/doc/classes/CdIo/Track.src/M000017.html +0 -17
  67. data/doc/classes/CdIo/Track.src/M000018.html +0 -17
  68. data/doc/classes/CdIo/Track.src/M000019.html +0 -17
  69. data/doc/classes/CdIo/Track.src/M000025.html +0 -17
  70. data/doc/classes/CdIo/Track.src/M000026.html +0 -17
  71. data/doc/classes/CdIo/Track.src/M000027.html +0 -17
  72. data/doc/classes/CdIo/TrackCdda.html +0 -169
  73. data/doc/classes/CdIo/TrackCdda.src/M000031.html +0 -17
  74. data/doc/classes/CdIo/TrackCdda.src/M000039.html +0 -17
  75. data/doc/classes/CdIo/TrackCdda.src/M000040.html +0 -17
  76. data/doc/classes/CdIo/TrackCdda.src/M000041.html +0 -17
  77. data/doc/classes/CdIo/TrackIso9660.html +0 -159
  78. data/doc/classes/CdIo/Tracks.html +0 -199
  79. data/doc/classes/CdIo/Tracks.src/M000028.html +0 -17
  80. data/doc/classes/CdIo/Tracks.src/M000029.html +0 -17
  81. data/doc/classes/CdIo/Tracks.src/M000030.html +0 -17
  82. data/doc/classes/CdIo/Tracks.src/M000036.html +0 -17
  83. data/doc/classes/CdIo/Tracks.src/M000037.html +0 -17
  84. data/doc/classes/CdIo/Tracks.src/M000038.html +0 -17
  85. data/doc/created.rid +0 -1
  86. data/doc/files/__/rb_cdio_def_rb.html +0 -235
  87. data/doc/files/rb_cdio_def_rb.html +0 -244
  88. data/doc/fr_class_index.html +0 -42
  89. data/doc/fr_file_index.html +0 -27
  90. data/doc/fr_method_index.html +0 -67
  91. data/doc/index.html +0 -24
  92. data/mkmf.log +0 -26
  93. data/svn-commit.tmp +0 -5
  94. data/tags +0 -47
  95. data/test/data/check_common_fn.in +0 -186
  96. data/test/data/check_cue.sh.in +0 -117
  97. data/test/data/check_iso.sh.in +0 -52
  98. data/test/data/check_nrg.sh.in +0 -70
  99. data/test/data/check_paranoia.sh.in +0 -78
  100. data/test/data/check_sizeof +0 -117
  101. data/test/data/check_sizeof.c +0 -77
  102. data/test/data/testassert.c +0 -36
  103. data/test/data/testbincue.c +0 -104
  104. data/test/data/testdefault.c +0 -202
  105. data/test/data/testischar.c +0 -71
  106. data/test/data/testiso9660.c +0 -158
  107. data/test/data/testparanoia.c +0 -185
  108. data/test/data/testtoc.c +0 -114
@@ -1,199 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: CdIo::Tracks</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">CdIo::Tracks</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/rb_cdio_def_rb.html">
59
- rb_cdio.def.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- Provides access to the tracks of a <a href="Cd.html">CdIo::Cd</a> object
84
- </p>
85
-
86
- </div>
87
-
88
-
89
- </div>
90
-
91
- <div id="method-list">
92
- <h3 class="section-bar">Methods</h3>
93
-
94
- <div class="name-list">
95
- <a href="#M000038">[]</a>&nbsp;&nbsp;
96
- <a href="#M000037">each</a>&nbsp;&nbsp;
97
- <a href="#M000036">new</a>&nbsp;&nbsp;
98
- </div>
99
- </div>
100
-
101
- </div>
102
-
103
-
104
- <!-- if includes -->
105
- <div id="includes">
106
- <h3 class="section-bar">Included Modules</h3>
107
-
108
- <div id="includes-list">
109
- <span class="include-name">Enumerable</span>
110
- </div>
111
- </div>
112
-
113
- <div id="section">
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- <!-- if method_list -->
123
- <div id="methods">
124
- <h3 class="section-bar">Public Class methods</h3>
125
-
126
- <div id="method-M000036" class="method-detail">
127
- <a name="M000036"></a>
128
-
129
- <div class="method-heading">
130
- <a href="Tracks.src/M000036.html" target="Code" class="method-signature"
131
- onclick="popupCode('Tracks.src/M000036.html');return false;">
132
- <span class="method-name">new</span><span class="method-args">(cd)</span>
133
- </a>
134
- </div>
135
-
136
- <div class="method-description">
137
- </div>
138
- </div>
139
-
140
- <h3 class="section-bar">Public Instance methods</h3>
141
-
142
- <div id="method-M000038" class="method-detail">
143
- <a name="M000038"></a>
144
-
145
- <div class="method-heading">
146
- <a href="Tracks.src/M000038.html" target="Code" class="method-signature"
147
- onclick="popupCode('Tracks.src/M000038.html');return false;">
148
- <span class="method-name">[]</span><span class="method-args">(index)</span>
149
- </a>
150
- </div>
151
-
152
- <div class="method-description">
153
- <p>
154
- Returns a track by the index. You can use CdIo::CDIO_CDROM_LEADOUT_TRACK to
155
- get the leadout track
156
- </p>
157
- <p>
158
- tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK] =&gt; #&lt;<a
159
- href="Track.html">CdIo::Track</a>:0xb7d867ec @leadout=true, @min=69,
160
- @sec_count=0, @frames=22, @lsn=311872, @format=5, @track_type=15,
161
- @msf=&quot;69:20:22&quot;, @number=170, @sec=20, @cd=#&lt;<a
162
- href="Cd.html">CdIo::Cd</a>:0xb7d84b7c&gt;, @lba=312022&gt;
163
- </p>
164
- </div>
165
- </div>
166
-
167
- <div id="method-M000037" class="method-detail">
168
- <a name="M000037"></a>
169
-
170
- <div class="method-heading">
171
- <a href="Tracks.src/M000037.html" target="Code" class="method-signature"
172
- onclick="popupCode('Tracks.src/M000037.html');return false;">
173
- <span class="method-name">each</span><span class="method-args">(&amp;block)</span>
174
- </a>
175
- </div>
176
-
177
- <div class="method-description">
178
- <p>
179
- Iterates through the tracks
180
- </p>
181
- <p>
182
- tracks.each {|track| p track}
183
- </p>
184
- </div>
185
- </div>
186
-
187
-
188
- </div>
189
-
190
-
191
- </div>
192
-
193
-
194
- <div id="validator-badges">
195
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
196
- </div>
197
-
198
- </body>
199
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>new (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 243</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">cd</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>each (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 248</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>[] (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 255</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">index</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>new (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 284</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">cd</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>each (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 289</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>[] (CdIo::Tracks)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 296</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">index</span>)
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1 +0,0 @@
1
- Sat Jun 04 04:08:27 CLT 2005
@@ -1,235 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: rb_cdio.def.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>rb_cdio.def.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>../rb_cdio.def.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue May 31 02:32:51 CLT 2005</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h1>rb_cdio</h1>
73
- <p>
74
- This package create bindings to the library libcdio
75
- </p>
76
- <h2>Version</h2>
77
- <p>
78
- 0.2.0
79
- </p>
80
- <h2>Changelog</h2>
81
- <p>
82
- <b>Release 0.1.2(2005.05.29)</b>
83
- </p>
84
- <ul>
85
- <li>Compatible with libcdio 0.73
86
-
87
- </li>
88
- <li><em><a href="../../classes/CdIo.html">CdIo</a></em>
89
-
90
- <pre>
91
- * new method CdIo.close_tray()
92
- * mod CdIo.drive_cap_dev()
93
- * &quot;mcn&quot; and &quot;isrc&quot; from misc caps was moved to read caps
94
- * new attr for read caps:&quot;mode2_form1&quot;,&quot;mode2_form2&quot;
95
- * new exceptions: IoError, Unsupported,Uninit, NotPermitted, BadParameter, BadPointer, NoDriver)
96
- </pre>
97
- </li>
98
- <li><em><a href="../../classes/CdIo/Cd.html">CdIo::Cd</a></em>
99
-
100
- <pre>
101
- * new attr: @last_lsn (replace @stat_size) and @joliet_level
102
- </pre>
103
- </li>
104
- </ul>
105
- <p>
106
- <b>Release 0.1.1(2005.05.28)</b>
107
- </p>
108
- <ul>
109
- <li>Last compatible with libcdio 0.70
110
-
111
- </li>
112
- <li>Deleted all &quot;get_&quot; at the begin of methods
113
-
114
- </li>
115
- <li>Unit tests on test dir
116
-
117
- </li>
118
- <li>New class <a href="../../classes/CdIo/Tracks.html">CdIo::Tracks</a>
119
-
120
- </li>
121
- <li>Added constants for tracks formats
122
-
123
- </li>
124
- <li><em><a href="../../classes/CdIo/Track.html">CdIo::Track</a></em>
125
-
126
- <pre>
127
- * Verification for track number
128
- * New attribute @leadout
129
- </pre>
130
- </li>
131
- </ul>
132
- <p>
133
- <b>Release 0.1.0 (2005.05.24)</b>
134
- </p>
135
- <ul>
136
- <li>Library packaged as rubygem
137
-
138
- </li>
139
- </ul>
140
- <p>
141
- <b>Release 0.0.2 (2005.05.22)</b>
142
- </p>
143
- <ul>
144
- <li>Indentation of C files changed to KR style
145
-
146
- </li>
147
- <li>New file: CdIo_Common.c
148
-
149
- </li>
150
- <li>Better CdIo_test.rb
151
-
152
- </li>
153
- <li>Implemented:
154
-
155
- <pre>
156
- - CdIo.open
157
- - CdIo::Cd.get_hwinfo
158
- - CdIo::Cd.close
159
- - CdIo::Cd.get_cdtext
160
- - CdIo::Track.get_cdtext
161
- </pre>
162
- </li>
163
- </ul>
164
- <h2>Download</h2>
165
- <p>
166
- <a href="http://rb-cdio.rubyforge.org">rb-cdio.rubyforge.org</a>
167
- </p>
168
- <h2>Example of use</h2>
169
- <pre>
170
- CdIo.devices
171
- ==&gt;[&quot;/dev/cdrom&quot;, &quot;/dev/dvd&quot;]
172
- cd=CdIo.default_device
173
- ==&gt;&quot;/dev/cdrom&quot;
174
- CdIo.drive_cap_dev(cd)
175
- ==&gt;{&quot;misc&quot;=&gt;{&quot;close_tray&quot;=&gt;true, &quot;media_changed&quot;=&gt;false, &quot;select_disk&quot;=&gt;false, &quot;lock&quot;=&gt;true, &quot;multi_session&quot;=&gt;true, &quot;eject&quot;=&gt;true, &quot;reset&quot;=&gt;false, &quot;select_speed&quot;=&gt;false, &quot;file&quot;=&gt;false}, &quot;read&quot;=&gt;{&quot;mode2_form1&quot;=&gt;true, &quot;dvd-rw&quot;=&gt;false, &quot;audio&quot;=&gt;true, &quot;mode2_form2&quot;=&gt;true, &quot;c2_errs&quot;=&gt;false, &quot;dvd-r&quot;=&gt;false, &quot;mcn&quot;=&gt;true, &quot;cd-da&quot;=&gt;true, &quot;dvd-rom&quot;=&gt;false, &quot;isrc&quot;=&gt;true, &quot;cd-r&quot;=&gt;true, &quot;dvd-ram&quot;=&gt;false, &quot;dvr+r&quot;=&gt;false, &quot;cd+g&quot;=&gt;false, &quot;dvd+rw&quot;=&gt;false, &quot;cd-rw&quot;=&gt;true}, &quot;write&quot;=&gt;{&quot;dvd-rw&quot;=&gt;false, &quot;cd&quot;=&gt;false, &quot;dvd-r&quot;=&gt;false, &quot;burn_proof&quot;=&gt;false, &quot;dvd+r&quot;=&gt;false, &quot;cd-r&quot;=&gt;false, &quot;dvd&quot;=&gt;false, &quot;dvd-ram&quot;=&gt;false, &quot;dvd+rw&quot;=&gt;false, &quot;mount_rainier&quot;=&gt;false, &quot;cd-rw&quot;=&gt;false}}
176
- CdIo.driver_describe(CdIo::DRIVER_LINUX)
177
- ==&gt;&quot;GNU/Linux ioctl and MMC driver&quot;
178
- CdIo.discmode_describe(CdIo::CDIO_DISC_MODE_CD_DA)
179
- ==&gt;&quot;CD-DA&quot;
180
- CdIo.track_format_describe(CdIo::TRACK_FORMAT_XA)
181
- ==&gt;&quot;XA&quot;
182
- cdo=CdIo.open(cd)
183
- ==&gt;#&lt;CdIo::Cd:0xb7d2a91c&gt;
184
- cdo.cdtext
185
- ==&gt;nil
186
- cdo.tracks.each do |track|
187
- track.number
188
- track
189
- end
190
- ==&gt;[#&lt;CdIo::TrackIso9660:0xb7cde440 @leadout=false, @min=0, @cd=#&lt;CdIo::Cd:0xb7d2a91c&gt;, @sec_count=311872, @frames=0, @lsn=0, @format=3, @track_type=3, @msf=&quot;00:02:00&quot;, @number=1, @sec=2, @lba=150&gt;]
191
- cdo.tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK];
192
- cdo.is_cd?
193
- ==&gt;true
194
- cdo.is_dvd?
195
- ==&gt;false
196
- cdo.drive_cap
197
- ==&gt;{&quot;misc&quot;=&gt;{&quot;close_tray&quot;=&gt;true, &quot;media_changed&quot;=&gt;false, &quot;select_disk&quot;=&gt;false, &quot;lock&quot;=&gt;true, &quot;multi_session&quot;=&gt;true, &quot;eject&quot;=&gt;true, &quot;reset&quot;=&gt;false, &quot;select_speed&quot;=&gt;false, &quot;file&quot;=&gt;false}, &quot;read&quot;=&gt;{&quot;mode2_form1&quot;=&gt;true, &quot;dvd-rw&quot;=&gt;false, &quot;audio&quot;=&gt;true, &quot;mode2_form2&quot;=&gt;true, &quot;c2_errs&quot;=&gt;false, &quot;dvd-r&quot;=&gt;false, &quot;mcn&quot;=&gt;true, &quot;cd-da&quot;=&gt;true, &quot;dvd-rom&quot;=&gt;false, &quot;isrc&quot;=&gt;true, &quot;cd-r&quot;=&gt;true, &quot;dvd-ram&quot;=&gt;false, &quot;dvr+r&quot;=&gt;false, &quot;cd+g&quot;=&gt;false, &quot;dvd+rw&quot;=&gt;false, &quot;cd-rw&quot;=&gt;true}, &quot;write&quot;=&gt;{&quot;dvd-rw&quot;=&gt;false, &quot;cd&quot;=&gt;false, &quot;dvd-r&quot;=&gt;false, &quot;burn_proof&quot;=&gt;false, &quot;dvd+r&quot;=&gt;false, &quot;cd-r&quot;=&gt;false, &quot;dvd&quot;=&gt;false, &quot;dvd-ram&quot;=&gt;false, &quot;dvd+rw&quot;=&gt;false, &quot;mount_rainier&quot;=&gt;false, &quot;cd-rw&quot;=&gt;false}}
198
- cdo.hwinfo
199
- ==&gt;{&quot;revision&quot;=&gt;&quot;1.00&quot;, &quot;vendor&quot;=&gt;&quot;HL-DT-ST&quot;, &quot;model&quot;=&gt;&quot;CD-ROM GCR-8520B&quot;}
200
- cdo.joliet_level
201
- ==&gt;0
202
- </pre>
203
-
204
- </div>
205
-
206
-
207
- </div>
208
-
209
-
210
- </div>
211
-
212
-
213
- <!-- if includes -->
214
-
215
- <div id="section">
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
- <!-- if method_list -->
225
-
226
-
227
- </div>
228
-
229
-
230
- <div id="validator-badges">
231
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
232
- </div>
233
-
234
- </body>
235
- </html>