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.
- data/ChangeLog.txt +17 -2
- data/VERSION +1 -1
- data/doc/classes/CdIo.html +19 -31
- data/doc/classes/CdIo.src/M000001.html +1 -1
- data/doc/classes/CdIo.src/M000002.html +1 -1
- data/doc/classes/CdIo.src/M000003.html +1 -1
- data/doc/classes/CdIo.src/M000004.html +1 -1
- data/doc/classes/CdIo.src/M000005.html +1 -1
- data/doc/classes/CdIo.src/M000006.html +1 -1
- data/doc/classes/CdIo.src/M000007.html +1 -1
- data/doc/classes/CdIo.src/M000008.html +1 -1
- data/doc/classes/CdIo/Cd.html +51 -51
- data/doc/classes/CdIo/Cd.src/{M000011.html → M000020.html} +1 -1
- data/doc/classes/CdIo/Cd.src/M000021.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000022.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000023.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000024.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000025.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000026.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000027.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000028.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000029.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000030.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000031.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000032.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000033.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000034.html +3 -3
- data/doc/classes/CdIo/Cd.src/M000035.html +3 -3
- data/doc/classes/CdIo/Cdda.html +428 -0
- data/doc/classes/CdIo/{Cd.src/M000016.html → Cdda.src/M000009.html} +3 -3
- data/doc/classes/CdIo/{Cd.src/M000013.html → Cdda.src/M000010.html} +3 -3
- data/doc/classes/CdIo/{Cd.src/M000036.html → Cdda.src/M000011.html} +3 -3
- data/doc/classes/CdIo/{Cd.src/M000014.html → Cdda.src/M000012.html} +3 -3
- data/doc/classes/CdIo/Cdda.src/M000013.html +17 -0
- data/doc/classes/CdIo/{Cd.src/M000019.html → Cdda.src/M000014.html} +3 -3
- data/doc/classes/CdIo/Cdda.src/M000015.html +17 -0
- data/doc/classes/CdIo/Cdda.src/M000016.html +17 -0
- data/doc/classes/CdIo/Cdda.src/M000017.html +17 -0
- data/doc/classes/CdIo/Cdda.src/M000018.html +17 -0
- data/doc/classes/CdIo/Cdda.src/M000019.html +17 -0
- data/doc/classes/CdIo/{Cd.src/M000015.html → Cdda.src/M000020.html} +3 -3
- data/doc/classes/CdIo/{Cd.src/M000017.html → Cdda.src/M000021.html} +3 -3
- data/doc/classes/CdIo/{Cd.src/M000018.html → Cdda.src/M000022.html} +3 -3
- data/doc/classes/CdIo/Cdda.src/M000023.html +17 -0
- data/doc/classes/CdIo/Cdda.src/M000024.html +17 -0
- data/doc/classes/CdIo/Exception.html +118 -0
- data/doc/classes/CdIo/Exception/BadParameter.html +111 -0
- data/doc/classes/CdIo/Exception/BadPointer.html +111 -0
- data/doc/classes/CdIo/{Device.html → Exception/CddbConn.html} +5 -5
- data/doc/classes/CdIo/Exception/CddbError.html +111 -0
- data/doc/classes/CdIo/{CdText.html → Exception/Error.html} +5 -5
- data/doc/{files/test/testall_rb.html → classes/CdIo/Exception/NoDriver.html} +26 -25
- data/doc/classes/CdIo/Exception/NotPermitted.html +111 -0
- data/doc/classes/CdIo/Exception/Unsupported.html +111 -0
- data/doc/classes/CdIo/Track.html +16 -16
- data/doc/classes/CdIo/Track.src/M000017.html +3 -3
- data/doc/classes/CdIo/Track.src/M000018.html +3 -3
- data/doc/classes/CdIo/Track.src/M000019.html +3 -3
- data/doc/classes/CdIo/Track.src/{M000009.html → M000025.html} +1 -1
- data/doc/classes/CdIo/Track.src/{M000010.html → M000026.html} +1 -1
- data/doc/classes/CdIo/Track.src/{M000011.html → M000027.html} +1 -1
- data/doc/classes/CdIo/TrackCdda.html +169 -0
- data/doc/classes/CdIo/TrackCdda.src/M000031.html +17 -0
- data/doc/classes/CdIo/TrackCdda.src/M000039.html +17 -0
- data/doc/classes/CdIo/TrackCdda.src/M000040.html +17 -0
- data/doc/classes/CdIo/TrackCdda.src/M000041.html +17 -0
- data/doc/classes/CdIo/Tracks.html +15 -15
- data/doc/classes/CdIo/Tracks.src/{M000020.html → M000028.html} +1 -1
- data/doc/classes/CdIo/Tracks.src/{M000021.html → M000029.html} +1 -1
- data/doc/classes/CdIo/Tracks.src/{M000022.html → M000030.html} +1 -1
- data/doc/classes/CdIo/{Cd.src/M000012.html → Tracks.src/M000036.html} +3 -3
- data/doc/classes/CdIo/Tracks.src/M000037.html +17 -0
- data/doc/classes/CdIo/Tracks.src/M000038.html +17 -0
- data/doc/created.rid +1 -1
- data/doc/files/__/rb_cdio_def_rb.html +235 -0
- data/doc/files/rb_cdio_def_rb.html +80 -5
- data/doc/fr_class_index.html +11 -0
- data/doc/fr_method_index.html +33 -14
- data/ext/CdIo.c +58 -3
- data/ext/CdIo.h +74 -1
- data/ext/CdIo_Cd.c +33 -80
- data/ext/CdIo_Cdda.c +607 -0
- data/ext/CdIo_Common.c +53 -8
- data/ext/CdIo_Modulo.c +12 -4
- data/ext/CdIo_Track.c +23 -35
- data/ext/CdIo_TrackCdda.c +13 -0
- data/ext/CdIo_TrackIso9660.c +1 -9
- data/ext/CdIo_Tracks.c +12 -2
- data/ext/extconf.rb +3 -0
- data/ext/mkmf.log +23 -0
- data/lib/rb_cdio_read.rb +23 -14
- data/rb_cdio.def.rb +157 -16
- data/test/data/bad-file.toc +13 -0
- data/test/data/cdda-read.right +3 -0
- data/test/data/cdda.cue +1 -0
- data/test/data/cdda.right +5 -28
- data/test/data/cdda.toc +2 -1
- data/test/data/check_common_fn +9 -9
- data/test/data/check_common_fn.in +9 -9
- data/test/data/check_cue.sh.in +35 -20
- data/test/data/check_iso.sh.in +23 -3
- data/test/data/check_nrg.sh.in +18 -16
- data/test/data/check_opts0.right +2 -24
- data/test/data/check_opts1.right +2 -24
- data/test/data/check_opts2.right +5 -27
- data/test/data/check_opts3.right +5 -27
- data/test/data/check_opts4.right +5 -27
- data/test/data/check_opts5.right +5 -27
- data/test/data/check_opts6.right +5 -27
- data/test/data/check_opts7.right +5 -27
- data/test/data/check_paranoia.sh.in +78 -0
- data/test/data/check_sizeof.c +5 -5
- data/test/data/copying-rr.iso +0 -0
- data/test/data/copying-rr.right +25 -0
- data/test/data/copying.right +3 -3
- data/test/data/data5.toc +3 -3
- data/test/data/data6.toc +2 -2
- data/test/data/data7.toc +3 -3
- data/test/data/isofs-m1-no-rr.right +33 -0
- data/test/data/isofs-m1-read.right +3 -0
- data/test/data/isofs-m1.right +12 -36
- data/test/data/joliet-nojoliet.right +23 -0
- data/test/data/joliet.iso +0 -0
- data/test/data/joliet.right +23 -0
- data/test/data/testbincue.c +19 -3
- data/test/data/testdefault.c +8 -2
- data/test/data/testiso9660.c +10 -5
- data/test/data/testparanoia.c +185 -0
- data/test/data/testtoc.c +18 -5
- data/test/data/vcd2.toc +23 -0
- data/test/data/vcd_demo.right +55 -79
- data/test/data/vcd_demo_vcdinfo.right +97 -0
- data/test/data/videocd.right +37 -61
- data/test/test_cdda.rb +73 -0
- data/test/testall.rb +1 -0
- data/test/testbincue.rb +6 -1
- data/test/testclose.rb +6 -1
- data/test/testmethods.rb +29 -21
- data/test/testtoc.rb +9 -2
- metadata +137 -80
- data/doc/classes/CdIo.src/M000009.html +0 -17
- data/doc/classes/CdIo.src/M000010.html +0 -17
- data/doc/classes/CdIo.src/M000011.html +0 -17
- data/doc/classes/CdIo.src/M000012.html +0 -17
- data/doc/classes/CdIo.src/M000013.html +0 -17
- data/doc/classes/CdIo.src/M000014.html +0 -17
- data/doc/classes/CdIo.src/M000015.html +0 -17
- data/doc/classes/CdIo.src/M000016.html +0 -17
- data/doc/classes/CdIo/Track.src/M000020.html +0 -17
- data/test/data/check_cd_read.sh +0 -53
- data/test/data/check_cue.sh +0 -102
- data/test/data/check_iso.sh +0 -32
- data/test/data/check_nrg.sh +0 -68
- 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="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
95
|
+
<a href="#M000038">[]</a>
|
96
|
+
<a href="#M000037">each</a>
|
97
|
+
<a href="#M000036">new</a>
|
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-
|
127
|
-
<a name="
|
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/
|
131
|
-
onclick="popupCode('Tracks.src/
|
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-
|
143
|
-
<a name="
|
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/
|
147
|
-
onclick="popupCode('Tracks.src/
|
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>, @lba=312022>
|
|
164
164
|
</div>
|
165
165
|
</div>
|
166
166
|
|
167
|
-
<div id="method-
|
168
|
-
<a name="
|
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/
|
172
|
-
onclick="popupCode('Tracks.src/
|
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">(&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
|
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
|
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">&</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
|
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::
|
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
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">
|
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">&</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>
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Sat
|
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
|
+
* "mcn" and "isrc" from misc caps was moved to read caps
|
94
|
+
* new attr for read caps:"mode2_form1","mode2_form2"
|
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 "get_" 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
|
+
==>["/dev/cdrom", "/dev/dvd"]
|
172
|
+
cd=CdIo.default_device
|
173
|
+
==>"/dev/cdrom"
|
174
|
+
CdIo.drive_cap_dev(cd)
|
175
|
+
==>{"misc"=>{"close_tray"=>true, "media_changed"=>false, "select_disk"=>false, "lock"=>true, "multi_session"=>true, "eject"=>true, "reset"=>false, "select_speed"=>false, "file"=>false}, "read"=>{"mode2_form1"=>true, "dvd-rw"=>false, "audio"=>true, "mode2_form2"=>true, "c2_errs"=>false, "dvd-r"=>false, "mcn"=>true, "cd-da"=>true, "dvd-rom"=>false, "isrc"=>true, "cd-r"=>true, "dvd-ram"=>false, "dvr+r"=>false, "cd+g"=>false, "dvd+rw"=>false, "cd-rw"=>true}, "write"=>{"dvd-rw"=>false, "cd"=>false, "dvd-r"=>false, "burn_proof"=>false, "dvd+r"=>false, "cd-r"=>false, "dvd"=>false, "dvd-ram"=>false, "dvd+rw"=>false, "mount_rainier"=>false, "cd-rw"=>false}}
|
176
|
+
CdIo.driver_describe(CdIo::DRIVER_LINUX)
|
177
|
+
==>"GNU/Linux ioctl and MMC driver"
|
178
|
+
CdIo.discmode_describe(CdIo::CDIO_DISC_MODE_CD_DA)
|
179
|
+
==>"CD-DA"
|
180
|
+
CdIo.track_format_describe(CdIo::TRACK_FORMAT_XA)
|
181
|
+
==>"XA"
|
182
|
+
cdo=CdIo.open(cd)
|
183
|
+
==>#<CdIo::Cd:0xb7d2a91c>
|
184
|
+
cdo.cdtext
|
185
|
+
==>nil
|
186
|
+
cdo.tracks.each do |track|
|
187
|
+
track.number
|
188
|
+
track
|
189
|
+
end
|
190
|
+
==>[#<CdIo::TrackIso9660:0xb7cde440 @leadout=false, @min=0, @cd=#<CdIo::Cd:0xb7d2a91c>, @sec_count=311872, @frames=0, @lsn=0, @format=3, @track_type=3, @msf="00:02:00", @number=1, @sec=2, @lba=150>]
|
191
|
+
cdo.tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK];
|
192
|
+
cdo.is_cd?
|
193
|
+
==>true
|
194
|
+
cdo.is_dvd?
|
195
|
+
==>false
|
196
|
+
cdo.drive_cap
|
197
|
+
==>{"misc"=>{"close_tray"=>true, "media_changed"=>false, "select_disk"=>false, "lock"=>true, "multi_session"=>true, "eject"=>true, "reset"=>false, "select_speed"=>false, "file"=>false}, "read"=>{"mode2_form1"=>true, "dvd-rw"=>false, "audio"=>true, "mode2_form2"=>true, "c2_errs"=>false, "dvd-r"=>false, "mcn"=>true, "cd-da"=>true, "dvd-rom"=>false, "isrc"=>true, "cd-r"=>true, "dvd-ram"=>false, "dvr+r"=>false, "cd+g"=>false, "dvd+rw"=>false, "cd-rw"=>true}, "write"=>{"dvd-rw"=>false, "cd"=>false, "dvd-r"=>false, "burn_proof"=>false, "dvd+r"=>false, "cd-r"=>false, "dvd"=>false, "dvd-ram"=>false, "dvd+rw"=>false, "mount_rainier"=>false, "cd-rw"=>false}}
|
198
|
+
cdo.hwinfo
|
199
|
+
==>{"revision"=>"1.00", "vendor"=>"HL-DT-ST", "model"=>"CD-ROM GCR-8520B"}
|
200
|
+
cdo.joliet_level
|
201
|
+
==>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
|
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
|
-
|
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.
|
80
|
+
0.2.0
|
79
81
|
</p>
|
80
82
|
<h2>Changelog</h2>
|
81
83
|
<p>
|
82
|
-
<b>Release 0.
|
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
|
+
* "mcn" and "isrc" from misc caps was moved to read caps
|
103
|
+
* new attr for read caps:"mode2_form1","mode2_form2"
|
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 "get_" at the begin of methods
|
86
122
|
|
87
123
|
</li>
|
88
|
-
<li>Unit tests
|
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
|
+
==>["/dev/cdrom", "/dev/dvd"]
|
181
|
+
cd=CdIo.default_device
|
182
|
+
==>"/dev/cdrom"
|
183
|
+
CdIo.drive_cap_dev(cd)
|
184
|
+
==>{"misc"=>{"close_tray"=>true, "media_changed"=>false, "select_disk"=>false, "lock"=>true, "multi_session"=>true, "eject"=>true, "reset"=>false, "select_speed"=>false, "file"=>false}, "read"=>{"mode2_form1"=>true, "dvd-rw"=>false, "audio"=>true, "mode2_form2"=>true, "c2_errs"=>false, "dvd-r"=>false, "mcn"=>true, "cd-da"=>true, "dvd-rom"=>false, "isrc"=>true, "cd-r"=>true, "dvd-ram"=>false, "dvr+r"=>false, "cd+g"=>false, "dvd+rw"=>false, "cd-rw"=>true}, "write"=>{"dvd-rw"=>false, "cd"=>false, "dvd-r"=>false, "burn_proof"=>false, "dvd+r"=>false, "cd-r"=>false, "dvd"=>false, "dvd-ram"=>false, "dvd+rw"=>false, "mount_rainier"=>false, "cd-rw"=>false}}
|
185
|
+
CdIo.driver_describe(CdIo::DRIVER_LINUX)
|
186
|
+
==>"GNU/Linux ioctl and MMC driver"
|
187
|
+
CdIo.discmode_describe(CdIo::CDIO_DISC_MODE_CD_DA)
|
188
|
+
==>"CD-DA"
|
189
|
+
CdIo.track_format_describe(CdIo::TRACK_FORMAT_XA)
|
190
|
+
==>"XA"
|
191
|
+
cdo=CdIo.open(cd)
|
192
|
+
==>#<CdIo::Cd:0xb7d2a91c>
|
193
|
+
cdo.cdtext
|
194
|
+
==>nil
|
195
|
+
cdo.tracks.each do |track|
|
196
|
+
track.number
|
197
|
+
track
|
198
|
+
end
|
199
|
+
==>[#<CdIo::TrackIso9660:0xb7cde440 @leadout=false, @min=0, @cd=#<CdIo::Cd:0xb7d2a91c>, @sec_count=311872, @frames=0, @lsn=0, @format=3, @track_type=3, @msf="00:02:00", @number=1, @sec=2, @lba=150>]
|
200
|
+
cdo.tracks[CdIo::CDIO_CDROM_LEADOUT_TRACK];
|
201
|
+
cdo.is_cd?
|
202
|
+
==>true
|
203
|
+
cdo.is_dvd?
|
204
|
+
==>false
|
205
|
+
cdo.drive_cap
|
206
|
+
==>{"misc"=>{"close_tray"=>true, "media_changed"=>false, "select_disk"=>false, "lock"=>true, "multi_session"=>true, "eject"=>true, "reset"=>false, "select_speed"=>false, "file"=>false}, "read"=>{"mode2_form1"=>true, "dvd-rw"=>false, "audio"=>true, "mode2_form2"=>true, "c2_errs"=>false, "dvd-r"=>false, "mcn"=>true, "cd-da"=>true, "dvd-rom"=>false, "isrc"=>true, "cd-r"=>true, "dvd-ram"=>false, "dvr+r"=>false, "cd+g"=>false, "dvd+rw"=>false, "cd-rw"=>true}, "write"=>{"dvd-rw"=>false, "cd"=>false, "dvd-r"=>false, "burn_proof"=>false, "dvd+r"=>false, "cd-r"=>false, "dvd"=>false, "dvd-ram"=>false, "dvd+rw"=>false, "mount_rainier"=>false, "cd-rw"=>false}}
|
207
|
+
cdo.hwinfo
|
208
|
+
==>{"revision"=>"1.00", "vendor"=>"HL-DT-ST", "model"=>"CD-ROM GCR-8520B"}
|
209
|
+
cdo.joliet_level
|
210
|
+
==>0
|
211
|
+
</pre>
|
137
212
|
|
138
213
|
</div>
|
139
214
|
|