rb_cdio 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/ChangeLog.txt +17 -2
  2. data/VERSION +1 -1
  3. data/doc/classes/CdIo.html +19 -31
  4. data/doc/classes/CdIo.src/M000001.html +1 -1
  5. data/doc/classes/CdIo.src/M000002.html +1 -1
  6. data/doc/classes/CdIo.src/M000003.html +1 -1
  7. data/doc/classes/CdIo.src/M000004.html +1 -1
  8. data/doc/classes/CdIo.src/M000005.html +1 -1
  9. data/doc/classes/CdIo.src/M000006.html +1 -1
  10. data/doc/classes/CdIo.src/M000007.html +1 -1
  11. data/doc/classes/CdIo.src/M000008.html +1 -1
  12. data/doc/classes/CdIo/Cd.html +51 -51
  13. data/doc/classes/CdIo/Cd.src/{M000011.html → M000020.html} +1 -1
  14. data/doc/classes/CdIo/Cd.src/M000021.html +3 -3
  15. data/doc/classes/CdIo/Cd.src/M000022.html +3 -3
  16. data/doc/classes/CdIo/Cd.src/M000023.html +3 -3
  17. data/doc/classes/CdIo/Cd.src/M000024.html +3 -3
  18. data/doc/classes/CdIo/Cd.src/M000025.html +3 -3
  19. data/doc/classes/CdIo/Cd.src/M000026.html +3 -3
  20. data/doc/classes/CdIo/Cd.src/M000027.html +3 -3
  21. data/doc/classes/CdIo/Cd.src/M000028.html +3 -3
  22. data/doc/classes/CdIo/Cd.src/M000029.html +3 -3
  23. data/doc/classes/CdIo/Cd.src/M000030.html +3 -3
  24. data/doc/classes/CdIo/Cd.src/M000031.html +3 -3
  25. data/doc/classes/CdIo/Cd.src/M000032.html +3 -3
  26. data/doc/classes/CdIo/Cd.src/M000033.html +3 -3
  27. data/doc/classes/CdIo/Cd.src/M000034.html +3 -3
  28. data/doc/classes/CdIo/Cd.src/M000035.html +3 -3
  29. data/doc/classes/CdIo/Cdda.html +428 -0
  30. data/doc/classes/CdIo/{Cd.src/M000016.html → Cdda.src/M000009.html} +3 -3
  31. data/doc/classes/CdIo/{Cd.src/M000013.html → Cdda.src/M000010.html} +3 -3
  32. data/doc/classes/CdIo/{Cd.src/M000036.html → Cdda.src/M000011.html} +3 -3
  33. data/doc/classes/CdIo/{Cd.src/M000014.html → Cdda.src/M000012.html} +3 -3
  34. data/doc/classes/CdIo/Cdda.src/M000013.html +17 -0
  35. data/doc/classes/CdIo/{Cd.src/M000019.html → Cdda.src/M000014.html} +3 -3
  36. data/doc/classes/CdIo/Cdda.src/M000015.html +17 -0
  37. data/doc/classes/CdIo/Cdda.src/M000016.html +17 -0
  38. data/doc/classes/CdIo/Cdda.src/M000017.html +17 -0
  39. data/doc/classes/CdIo/Cdda.src/M000018.html +17 -0
  40. data/doc/classes/CdIo/Cdda.src/M000019.html +17 -0
  41. data/doc/classes/CdIo/{Cd.src/M000015.html → Cdda.src/M000020.html} +3 -3
  42. data/doc/classes/CdIo/{Cd.src/M000017.html → Cdda.src/M000021.html} +3 -3
  43. data/doc/classes/CdIo/{Cd.src/M000018.html → Cdda.src/M000022.html} +3 -3
  44. data/doc/classes/CdIo/Cdda.src/M000023.html +17 -0
  45. data/doc/classes/CdIo/Cdda.src/M000024.html +17 -0
  46. data/doc/classes/CdIo/Exception.html +118 -0
  47. data/doc/classes/CdIo/Exception/BadParameter.html +111 -0
  48. data/doc/classes/CdIo/Exception/BadPointer.html +111 -0
  49. data/doc/classes/CdIo/{Device.html → Exception/CddbConn.html} +5 -5
  50. data/doc/classes/CdIo/Exception/CddbError.html +111 -0
  51. data/doc/classes/CdIo/{CdText.html → Exception/Error.html} +5 -5
  52. data/doc/{files/test/testall_rb.html → classes/CdIo/Exception/NoDriver.html} +26 -25
  53. data/doc/classes/CdIo/Exception/NotPermitted.html +111 -0
  54. data/doc/classes/CdIo/Exception/Unsupported.html +111 -0
  55. data/doc/classes/CdIo/Track.html +16 -16
  56. data/doc/classes/CdIo/Track.src/M000017.html +3 -3
  57. data/doc/classes/CdIo/Track.src/M000018.html +3 -3
  58. data/doc/classes/CdIo/Track.src/M000019.html +3 -3
  59. data/doc/classes/CdIo/Track.src/{M000009.html → M000025.html} +1 -1
  60. data/doc/classes/CdIo/Track.src/{M000010.html → M000026.html} +1 -1
  61. data/doc/classes/CdIo/Track.src/{M000011.html → M000027.html} +1 -1
  62. data/doc/classes/CdIo/TrackCdda.html +169 -0
  63. data/doc/classes/CdIo/TrackCdda.src/M000031.html +17 -0
  64. data/doc/classes/CdIo/TrackCdda.src/M000039.html +17 -0
  65. data/doc/classes/CdIo/TrackCdda.src/M000040.html +17 -0
  66. data/doc/classes/CdIo/TrackCdda.src/M000041.html +17 -0
  67. data/doc/classes/CdIo/Tracks.html +15 -15
  68. data/doc/classes/CdIo/Tracks.src/{M000020.html → M000028.html} +1 -1
  69. data/doc/classes/CdIo/Tracks.src/{M000021.html → M000029.html} +1 -1
  70. data/doc/classes/CdIo/Tracks.src/{M000022.html → M000030.html} +1 -1
  71. data/doc/classes/CdIo/{Cd.src/M000012.html → Tracks.src/M000036.html} +3 -3
  72. data/doc/classes/CdIo/Tracks.src/M000037.html +17 -0
  73. data/doc/classes/CdIo/Tracks.src/M000038.html +17 -0
  74. data/doc/created.rid +1 -1
  75. data/doc/files/__/rb_cdio_def_rb.html +235 -0
  76. data/doc/files/rb_cdio_def_rb.html +80 -5
  77. data/doc/fr_class_index.html +11 -0
  78. data/doc/fr_method_index.html +33 -14
  79. data/ext/CdIo.c +58 -3
  80. data/ext/CdIo.h +74 -1
  81. data/ext/CdIo_Cd.c +33 -80
  82. data/ext/CdIo_Cdda.c +607 -0
  83. data/ext/CdIo_Common.c +53 -8
  84. data/ext/CdIo_Modulo.c +12 -4
  85. data/ext/CdIo_Track.c +23 -35
  86. data/ext/CdIo_TrackCdda.c +13 -0
  87. data/ext/CdIo_TrackIso9660.c +1 -9
  88. data/ext/CdIo_Tracks.c +12 -2
  89. data/ext/extconf.rb +3 -0
  90. data/ext/mkmf.log +23 -0
  91. data/lib/rb_cdio_read.rb +23 -14
  92. data/rb_cdio.def.rb +157 -16
  93. data/test/data/bad-file.toc +13 -0
  94. data/test/data/cdda-read.right +3 -0
  95. data/test/data/cdda.cue +1 -0
  96. data/test/data/cdda.right +5 -28
  97. data/test/data/cdda.toc +2 -1
  98. data/test/data/check_common_fn +9 -9
  99. data/test/data/check_common_fn.in +9 -9
  100. data/test/data/check_cue.sh.in +35 -20
  101. data/test/data/check_iso.sh.in +23 -3
  102. data/test/data/check_nrg.sh.in +18 -16
  103. data/test/data/check_opts0.right +2 -24
  104. data/test/data/check_opts1.right +2 -24
  105. data/test/data/check_opts2.right +5 -27
  106. data/test/data/check_opts3.right +5 -27
  107. data/test/data/check_opts4.right +5 -27
  108. data/test/data/check_opts5.right +5 -27
  109. data/test/data/check_opts6.right +5 -27
  110. data/test/data/check_opts7.right +5 -27
  111. data/test/data/check_paranoia.sh.in +78 -0
  112. data/test/data/check_sizeof.c +5 -5
  113. data/test/data/copying-rr.iso +0 -0
  114. data/test/data/copying-rr.right +25 -0
  115. data/test/data/copying.right +3 -3
  116. data/test/data/data5.toc +3 -3
  117. data/test/data/data6.toc +2 -2
  118. data/test/data/data7.toc +3 -3
  119. data/test/data/isofs-m1-no-rr.right +33 -0
  120. data/test/data/isofs-m1-read.right +3 -0
  121. data/test/data/isofs-m1.right +12 -36
  122. data/test/data/joliet-nojoliet.right +23 -0
  123. data/test/data/joliet.iso +0 -0
  124. data/test/data/joliet.right +23 -0
  125. data/test/data/testbincue.c +19 -3
  126. data/test/data/testdefault.c +8 -2
  127. data/test/data/testiso9660.c +10 -5
  128. data/test/data/testparanoia.c +185 -0
  129. data/test/data/testtoc.c +18 -5
  130. data/test/data/vcd2.toc +23 -0
  131. data/test/data/vcd_demo.right +55 -79
  132. data/test/data/vcd_demo_vcdinfo.right +97 -0
  133. data/test/data/videocd.right +37 -61
  134. data/test/test_cdda.rb +73 -0
  135. data/test/testall.rb +1 -0
  136. data/test/testbincue.rb +6 -1
  137. data/test/testclose.rb +6 -1
  138. data/test/testmethods.rb +29 -21
  139. data/test/testtoc.rb +9 -2
  140. metadata +137 -80
  141. data/doc/classes/CdIo.src/M000009.html +0 -17
  142. data/doc/classes/CdIo.src/M000010.html +0 -17
  143. data/doc/classes/CdIo.src/M000011.html +0 -17
  144. data/doc/classes/CdIo.src/M000012.html +0 -17
  145. data/doc/classes/CdIo.src/M000013.html +0 -17
  146. data/doc/classes/CdIo.src/M000014.html +0 -17
  147. data/doc/classes/CdIo.src/M000015.html +0 -17
  148. data/doc/classes/CdIo.src/M000016.html +0 -17
  149. data/doc/classes/CdIo/Track.src/M000020.html +0 -17
  150. data/test/data/check_cd_read.sh +0 -53
  151. data/test/data/check_cue.sh +0 -102
  152. data/test/data/check_iso.sh +0 -32
  153. data/test/data/check_nrg.sh +0 -68
  154. data/test/data/check_opts.sh +0 -33
@@ -0,0 +1,17 @@
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>play (CdIo::TrackCdda)</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 321</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">play</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -0,0 +1,17 @@
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>artist (CdIo::TrackCdda)</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 323</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">artist</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -0,0 +1,17 @@
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>title (CdIo::TrackCdda)</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 325</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">title</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -92,9 +92,9 @@ Provides access to the tracks of a <a href="Cd.html">CdIo::Cd</a> object
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000022">[]</a>&nbsp;&nbsp;
96
- <a href="#M000021">each</a>&nbsp;&nbsp;
97
- <a href="#M000020">new</a>&nbsp;&nbsp;
95
+ <a href="#M000038">[]</a>&nbsp;&nbsp;
96
+ <a href="#M000037">each</a>&nbsp;&nbsp;
97
+ <a href="#M000036">new</a>&nbsp;&nbsp;
98
98
  </div>
99
99
  </div>
100
100
 
@@ -123,12 +123,12 @@ Provides access to the tracks of a <a href="Cd.html">CdIo::Cd</a> object
123
123
  <div id="methods">
124
124
  <h3 class="section-bar">Public Class methods</h3>
125
125
 
126
- <div id="method-M000020" class="method-detail">
127
- <a name="M000020"></a>
126
+ <div id="method-M000036" class="method-detail">
127
+ <a name="M000036"></a>
128
128
 
129
129
  <div class="method-heading">
130
- <a href="Tracks.src/M000020.html" target="Code" class="method-signature"
131
- onclick="popupCode('Tracks.src/M000020.html');return false;">
130
+ <a href="Tracks.src/M000036.html" target="Code" class="method-signature"
131
+ onclick="popupCode('Tracks.src/M000036.html');return false;">
132
132
  <span class="method-name">new</span><span class="method-args">(cd)</span>
133
133
  </a>
134
134
  </div>
@@ -139,12 +139,12 @@ Provides access to the tracks of a <a href="Cd.html">CdIo::Cd</a> object
139
139
 
140
140
  <h3 class="section-bar">Public Instance methods</h3>
141
141
 
142
- <div id="method-M000022" class="method-detail">
143
- <a name="M000022"></a>
142
+ <div id="method-M000038" class="method-detail">
143
+ <a name="M000038"></a>
144
144
 
145
145
  <div class="method-heading">
146
- <a href="Tracks.src/M000022.html" target="Code" class="method-signature"
147
- onclick="popupCode('Tracks.src/M000022.html');return false;">
146
+ <a href="Tracks.src/M000038.html" target="Code" class="method-signature"
147
+ onclick="popupCode('Tracks.src/M000038.html');return false;">
148
148
  <span class="method-name">[]</span><span class="method-args">(index)</span>
149
149
  </a>
150
150
  </div>
@@ -164,12 +164,12 @@ href="Cd.html">CdIo::Cd</a>:0xb7d84b7c&gt;, @lba=312022&gt;
164
164
  </div>
165
165
  </div>
166
166
 
167
- <div id="method-M000021" class="method-detail">
168
- <a name="M000021"></a>
167
+ <div id="method-M000037" class="method-detail">
168
+ <a name="M000037"></a>
169
169
 
170
170
  <div class="method-heading">
171
- <a href="Tracks.src/M000021.html" target="Code" class="method-signature"
172
- onclick="popupCode('Tracks.src/M000021.html');return false;">
171
+ <a href="Tracks.src/M000037.html" target="Code" class="method-signature"
172
+ onclick="popupCode('Tracks.src/M000037.html');return false;">
173
173
  <span class="method-name">each</span><span class="method-args">(&amp;block)</span>
174
174
  </a>
175
175
  </div>
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 151</span>
13
+ <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 243</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">cd</span>)
15
15
  <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 156</span>
13
+ <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 248</span>
14
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
15
  <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 163</span>
13
+ <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 255</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">index</span>)
15
15
  <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>new (CdIo::Cd)</title>
8
+ <title>new (CdIo::Tracks)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File rb_cdio.def.rb, line 114</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">device</span>,<span class="ruby-identifier">driver</span>)
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
15
  <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -0,0 +1,17 @@
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>
@@ -0,0 +1,17 @@
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 +1 @@
1
- Sat May 28 02:45:43 CLT 2005
1
+ Sat Jun 04 04:08:27 CLT 2005
@@ -0,0 +1,235 @@
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>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat May 28 02:34:40 CLT 2005</td>
59
+ <td>Sat Jun 04 04:08:11 CLT 2005</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -71,21 +71,57 @@
71
71
  <div id="description">
72
72
  <h1>rb_cdio</h1>
73
73
  <p>
74
- This package create bindings to the library libcdio
74
+ Create bindings to the library libcdio and libcddb(optional). You can
75
+ retrieve information about Cd and images. If you have library libcddb
76
+ installed, you can retrieve information like artist and titles for CD-DA.
75
77
  </p>
76
78
  <h2>Version</h2>
77
79
  <p>
78
- 0.1.1
80
+ 0.2.0
79
81
  </p>
80
82
  <h2>Changelog</h2>
81
83
  <p>
82
- <b>Release 0.1.1</b>
84
+ <b>Release 0.2.0(2005.05.31)</b>
83
85
  </p>
84
86
  <ul>
87
+ <li>Compatible with libcdio 0.73
88
+
89
+ </li>
90
+ <li><em><a href="../classes/CdIo/Cdda.html">CdIo::Cdda</a></em>
91
+
92
+ <pre>
93
+ * when you instanciate a Cd class, if the disc is CDDA one, the Cd object is extended with this module.
94
+ * You can play, resume and stop the reproduction, and get the state with subchannel() method.
95
+ </pre>
96
+ </li>
97
+ <li><em><a href="../classes/CdIo.html">CdIo</a></em>
98
+
99
+ <pre>
100
+ * new method CdIo.close_tray()
101
+ * mod CdIo.drive_cap_dev()
102
+ * &quot;mcn&quot; and &quot;isrc&quot; from misc caps was moved to read caps
103
+ * new attr for read caps:&quot;mode2_form1&quot;,&quot;mode2_form2&quot;
104
+ * new exceptions on module CdIo::Exceptions : IoError, Unsupported,Uninit, NotPermitted, BadParameter, BadPointer, NoDriver)
105
+ </pre>
106
+ </li>
107
+ <li><em><a href="../classes/CdIo/Cd.html">CdIo::Cd</a></em>
108
+
109
+ <pre>
110
+ * new attr: @last_lsn (replace @stat_size) and @joliet_level
111
+ </pre>
112
+ </li>
113
+ </ul>
114
+ <p>
115
+ <b>Release 0.1.1(2005.05.28)</b>
116
+ </p>
117
+ <ul>
118
+ <li>Last compatible with libcdio 0.70
119
+
120
+ </li>
85
121
  <li>Deleted all &quot;get_&quot; at the begin of methods
86
122
 
87
123
  </li>
88
- <li>Unit tests of test dir
124
+ <li>Unit tests on test dir
89
125
 
90
126
  </li>
91
127
  <li>New class <a href="../classes/CdIo/Tracks.html">CdIo::Tracks</a>
@@ -134,6 +170,45 @@ This package create bindings to the library libcdio
134
170
  </pre>
135
171
  </li>
136
172
  </ul>
173
+ <h2>Download</h2>
174
+ <p>
175
+ <a href="http://rb-cdio.rubyforge.org">rb-cdio.rubyforge.org</a>
176
+ </p>
177
+ <h2>Example of use</h2>
178
+ <pre>
179
+ CdIo.devices
180
+ ==&gt;[&quot;/dev/cdrom&quot;, &quot;/dev/dvd&quot;]
181
+ cd=CdIo.default_device
182
+ ==&gt;&quot;/dev/cdrom&quot;
183
+ CdIo.drive_cap_dev(cd)
184
+ ==&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}}
185
+ CdIo.driver_describe(CdIo::DRIVER_LINUX)
186
+ ==&gt;&quot;GNU/Linux ioctl and MMC driver&quot;
187
+ CdIo.discmode_describe(CdIo::CDIO_DISC_MODE_CD_DA)
188
+ ==&gt;&quot;CD-DA&quot;
189
+ CdIo.track_format_describe(CdIo::TRACK_FORMAT_XA)
190
+ ==&gt;&quot;XA&quot;
191
+ cdo=CdIo.open(cd)
192
+ ==&gt;#&lt;CdIo::Cd:0xb7d2a91c&gt;
193
+ cdo.cdtext
194
+ ==&gt;nil
195
+ cdo.tracks.each do |track|
196
+ track.number
197
+ track
198
+ end
199
+ ==&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;]
200
+ cdo.tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK];
201
+ cdo.is_cd?
202
+ ==&gt;true
203
+ cdo.is_dvd?
204
+ ==&gt;false
205
+ cdo.drive_cap
206
+ ==&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}}
207
+ cdo.hwinfo
208
+ ==&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;}
209
+ cdo.joliet_level
210
+ ==&gt;0
211
+ </pre>
137
212
 
138
213
  </div>
139
214