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.
- data/VERSION +1 -1
- data/ext/CdIo.h +0 -9
- data/ext/CdIo_Cd.c +1 -1
- data/ext/CdIo_Cdda.c +7 -1
- data/ext/extconf.rb +6 -6
- data/ext/mkmf.log +45 -20
- data/test/{testbincue.rb → test_bincue.rb} +0 -0
- data/test/{testclose.rb → test_close.rb} +0 -0
- data/test/{testmethods.rb → test_methods.rb} +1 -1
- data/test/{testtoc.rb → test_toc.rb} +4 -2
- data/test/testall.rb +4 -4
- metadata +195 -406
- data/doc/classes/CdIo.html +0 -511
- data/doc/classes/CdIo.src/M000001.html +0 -17
- data/doc/classes/CdIo.src/M000002.html +0 -17
- data/doc/classes/CdIo.src/M000003.html +0 -17
- data/doc/classes/CdIo.src/M000004.html +0 -17
- data/doc/classes/CdIo.src/M000005.html +0 -17
- data/doc/classes/CdIo.src/M000006.html +0 -17
- data/doc/classes/CdIo.src/M000007.html +0 -17
- data/doc/classes/CdIo.src/M000008.html +0 -17
- data/doc/classes/CdIo/Cd.html +0 -348
- data/doc/classes/CdIo/Cd.src/M000020.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000021.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000022.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000023.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000024.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000025.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000026.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000027.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000028.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000029.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000030.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000031.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000032.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000033.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000034.html +0 -17
- data/doc/classes/CdIo/Cd.src/M000035.html +0 -17
- data/doc/classes/CdIo/Cdda.html +0 -428
- data/doc/classes/CdIo/Cdda.src/M000009.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000010.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000011.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000012.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000013.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000014.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000015.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000016.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000017.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000018.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000019.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000020.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000021.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000022.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000023.html +0 -17
- data/doc/classes/CdIo/Cdda.src/M000024.html +0 -17
- data/doc/classes/CdIo/Exception.html +0 -118
- data/doc/classes/CdIo/Exception/BadParameter.html +0 -111
- data/doc/classes/CdIo/Exception/BadPointer.html +0 -111
- data/doc/classes/CdIo/Exception/CddbConn.html +0 -111
- data/doc/classes/CdIo/Exception/CddbError.html +0 -111
- data/doc/classes/CdIo/Exception/Error.html +0 -111
- data/doc/classes/CdIo/Exception/NoDriver.html +0 -111
- data/doc/classes/CdIo/Exception/NotPermitted.html +0 -111
- data/doc/classes/CdIo/Exception/Unsupported.html +0 -111
- data/doc/classes/CdIo/Track.html +0 -246
- data/doc/classes/CdIo/Track.src/M000017.html +0 -17
- data/doc/classes/CdIo/Track.src/M000018.html +0 -17
- data/doc/classes/CdIo/Track.src/M000019.html +0 -17
- data/doc/classes/CdIo/Track.src/M000025.html +0 -17
- data/doc/classes/CdIo/Track.src/M000026.html +0 -17
- data/doc/classes/CdIo/Track.src/M000027.html +0 -17
- data/doc/classes/CdIo/TrackCdda.html +0 -169
- data/doc/classes/CdIo/TrackCdda.src/M000031.html +0 -17
- data/doc/classes/CdIo/TrackCdda.src/M000039.html +0 -17
- data/doc/classes/CdIo/TrackCdda.src/M000040.html +0 -17
- data/doc/classes/CdIo/TrackCdda.src/M000041.html +0 -17
- data/doc/classes/CdIo/TrackIso9660.html +0 -159
- data/doc/classes/CdIo/Tracks.html +0 -199
- data/doc/classes/CdIo/Tracks.src/M000028.html +0 -17
- data/doc/classes/CdIo/Tracks.src/M000029.html +0 -17
- data/doc/classes/CdIo/Tracks.src/M000030.html +0 -17
- data/doc/classes/CdIo/Tracks.src/M000036.html +0 -17
- data/doc/classes/CdIo/Tracks.src/M000037.html +0 -17
- data/doc/classes/CdIo/Tracks.src/M000038.html +0 -17
- data/doc/created.rid +0 -1
- data/doc/files/__/rb_cdio_def_rb.html +0 -235
- data/doc/files/rb_cdio_def_rb.html +0 -244
- data/doc/fr_class_index.html +0 -42
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -67
- data/doc/index.html +0 -24
- data/mkmf.log +0 -26
- data/svn-commit.tmp +0 -5
- data/tags +0 -47
- data/test/data/check_common_fn.in +0 -186
- data/test/data/check_cue.sh.in +0 -117
- data/test/data/check_iso.sh.in +0 -52
- data/test/data/check_nrg.sh.in +0 -70
- data/test/data/check_paranoia.sh.in +0 -78
- data/test/data/check_sizeof +0 -117
- data/test/data/check_sizeof.c +0 -77
- data/test/data/testassert.c +0 -36
- data/test/data/testbincue.c +0 -104
- data/test/data/testdefault.c +0 -202
- data/test/data/testischar.c +0 -71
- data/test/data/testiso9660.c +0 -158
- data/test/data/testparanoia.c +0 -185
- 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>
|
96
|
-
<a href="#M000037">each</a>
|
97
|
-
<a href="#M000036">new</a>
|
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] => #<<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="69:20:22", @number=170, @sec=20, @cd=#<<a
|
162
|
-
href="Cd.html">CdIo::Cd</a>:0xb7d84b7c>, @lba=312022>
|
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">(&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">&</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">&</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>
|
data/doc/created.rid
DELETED
@@ -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
|
-
* "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>
|