rb_cdio 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,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::Cd)</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 162</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>)
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>cdtext (CdIo::Cd)</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 167</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cdtext</span>(<span class="ruby-identifier">track</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>tracks (CdIo::Cd)</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 172</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tracks</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>is_cd? (CdIo::Cd)</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 176</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_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>is_dvd? (CdIo::Cd)</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 179</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dvd?</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>drive_cap (CdIo::Cd)</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 183</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">drive_cap</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>hwinfo (CdIo::Cd)</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 188</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hwinfo</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>close (CdIo::Cd)</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 192</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</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::Cd)</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 169</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>)
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>cdtext (CdIo::Cd)</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 174</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cdtext</span>(<span class="ruby-identifier">track</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>tracks (CdIo::Cd)</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 179</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tracks</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>is_cd? (CdIo::Cd)</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 183</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_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>is_dvd? (CdIo::Cd)</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 186</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dvd?</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>drive_cap (CdIo::Cd)</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 190</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">drive_cap</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>hwinfo (CdIo::Cd)</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 195</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hwinfo</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>close (CdIo::Cd)</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 199</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
15
- <span class="ruby-keyword kw">end</span></pre>
16
- </body>
17
- </html>
@@ -1,428 +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>Module: CdIo::Cdda</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>Module</strong></td>
53
- <td class="class-name-in-header">CdIo::Cdda</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
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
- <div id="description">
76
- <p>
77
- module with extra methods to extends a normal <a href="Cd.html">Cd</a>
78
- </p>
79
-
80
- </div>
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000019">artist</a>&nbsp;&nbsp;
90
- <a href="#M000021">category</a>&nbsp;&nbsp;
91
- <a href="#M000018">cddb_fetch</a>&nbsp;&nbsp;
92
- <a href="#M000016">cddb_id</a>&nbsp;&nbsp;
93
- <a href="#M000017">cddb_matches</a>&nbsp;&nbsp;
94
- <a href="#M000024">extra_data</a>&nbsp;&nbsp;
95
- <a href="#M000022">genre</a>&nbsp;&nbsp;
96
- <a href="#M000023">length</a>&nbsp;&nbsp;
97
- <a href="#M000012">pause</a>&nbsp;&nbsp;
98
- <a href="#M000011">play</a>&nbsp;&nbsp;
99
- <a href="#M000013">resume</a>&nbsp;&nbsp;
100
- <a href="#M000014">stop</a>&nbsp;&nbsp;
101
- <a href="#M000015">subchannel</a>&nbsp;&nbsp;
102
- <a href="#M000020">title</a>&nbsp;&nbsp;
103
- <a href="#M000009">volume</a>&nbsp;&nbsp;
104
- <a href="#M000010">volume=</a>&nbsp;&nbsp;
105
- </div>
106
- </div>
107
-
108
- </div>
109
-
110
-
111
- <!-- if includes -->
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 Instance methods</h3>
125
-
126
- <div id="method-M000019" class="method-detail">
127
- <a name="M000019"></a>
128
-
129
- <div class="method-heading">
130
- <a href="Cdda.src/M000019.html" target="Code" class="method-signature"
131
- onclick="popupCode('Cdda.src/M000019.html');return false;">
132
- <span class="method-name">artist</span><span class="method-args">()</span>
133
- </a>
134
- </div>
135
-
136
- <div class="method-description">
137
- </div>
138
- </div>
139
-
140
- <div id="method-M000021" class="method-detail">
141
- <a name="M000021"></a>
142
-
143
- <div class="method-heading">
144
- <a href="Cdda.src/M000021.html" target="Code" class="method-signature"
145
- onclick="popupCode('Cdda.src/M000021.html');return false;">
146
- <span class="method-name">category</span><span class="method-args">()</span>
147
- </a>
148
- </div>
149
-
150
- <div class="method-description">
151
- </div>
152
- </div>
153
-
154
- <div id="method-M000018" class="method-detail">
155
- <a name="M000018"></a>
156
-
157
- <div class="method-heading">
158
- <a href="Cdda.src/M000018.html" target="Code" class="method-signature"
159
- onclick="popupCode('Cdda.src/M000018.html');return false;">
160
- <span class="method-name">cddb_fetch</span><span class="method-args">(match)</span>
161
- </a>
162
- </div>
163
-
164
- <div class="method-description">
165
- <p>
166
- Get the match number x on cddb. Add information for the cd and the tracks
167
- Requires <b>libcddb</b>
168
- </p>
169
- <pre>
170
- cd.cddb_fetch(1)
171
- ==&gt; true
172
- t=cd.tracks[1]
173
- puts t.number.to_s+&quot;-&quot;+t.artist+&quot;-&quot;+t.title
174
- ==&gt; 1-Seru Giran-Peperina
175
- </pre>
176
- </div>
177
- </div>
178
-
179
- <div id="method-M000016" class="method-detail">
180
- <a name="M000016"></a>
181
-
182
- <div class="method-heading">
183
- <a href="Cdda.src/M000016.html" target="Code" class="method-signature"
184
- onclick="popupCode('Cdda.src/M000016.html');return false;">
185
- <span class="method-name">cddb_id</span><span class="method-args">()</span>
186
- </a>
187
- </div>
188
-
189
- <div class="method-description">
190
- <p>
191
- get the cddb key for the cd, in hex format
192
- </p>
193
- <p>
194
- cd.cddb_id
195
- </p>
196
- <h2>&gt; &quot;9609630b&quot;</h2>
197
- </div>
198
- </div>
199
-
200
- <div id="method-M000017" class="method-detail">
201
- <a name="M000017"></a>
202
-
203
- <div class="method-heading">
204
- <a href="Cdda.src/M000017.html" target="Code" class="method-signature"
205
- onclick="popupCode('Cdda.src/M000017.html');return false;">
206
- <span class="method-name">cddb_matches</span><span class="method-args">()</span>
207
- </a>
208
- </div>
209
-
210
- <div class="method-description">
211
- <p>
212
- get matches for cddb in an array. Requires <b>libcddb</b>
213
- </p>
214
- <pre>
215
- cd.cddb_matches
216
- ==&gt; [{&quot;artist&quot;=&gt;&quot;Seru Giran&quot;, &quot;category&quot;=&gt;&quot;rock&quot;, &quot;title&quot;=&gt;&quot;Peperina&quot;, &quot;id&quot;=&gt;&quot;2466865419&quot;, &quot;length&quot;=&gt;&quot;2403&quot;, &quot;year&quot;=&gt;&quot;0&quot;, &quot;genre&quot;=&gt;&quot;rock&quot;}, {&quot;artist&quot;=&gt;&quot;Seru Giran&quot;, &quot;category&quot;=&gt;&quot;rock&quot;, &quot;title&quot;=&gt;&quot;Peperina&quot;, &quot;id&quot;=&gt;&quot;2517197579&quot;, &quot;length&quot;=&gt;&quot;2403&quot;, &quot;year&quot;=&gt;&quot;0&quot;, &quot;genre&quot;=&gt;&quot;rock&quot;}]
217
- </pre>
218
- </div>
219
- </div>
220
-
221
- <div id="method-M000024" class="method-detail">
222
- <a name="M000024"></a>
223
-
224
- <div class="method-heading">
225
- <a href="Cdda.src/M000024.html" target="Code" class="method-signature"
226
- onclick="popupCode('Cdda.src/M000024.html');return false;">
227
- <span class="method-name">extra_data</span><span class="method-args">()</span>
228
- </a>
229
- </div>
230
-
231
- <div class="method-description">
232
- </div>
233
- </div>
234
-
235
- <div id="method-M000022" class="method-detail">
236
- <a name="M000022"></a>
237
-
238
- <div class="method-heading">
239
- <a href="Cdda.src/M000022.html" target="Code" class="method-signature"
240
- onclick="popupCode('Cdda.src/M000022.html');return false;">
241
- <span class="method-name">genre</span><span class="method-args">()</span>
242
- </a>
243
- </div>
244
-
245
- <div class="method-description">
246
- </div>
247
- </div>
248
-
249
- <div id="method-M000023" class="method-detail">
250
- <a name="M000023"></a>
251
-
252
- <div class="method-heading">
253
- <a href="Cdda.src/M000023.html" target="Code" class="method-signature"
254
- onclick="popupCode('Cdda.src/M000023.html');return false;">
255
- <span class="method-name">length</span><span class="method-args">()</span>
256
- </a>
257
- </div>
258
-
259
- <div class="method-description">
260
- </div>
261
- </div>
262
-
263
- <div id="method-M000012" class="method-detail">
264
- <a name="M000012"></a>
265
-
266
- <div class="method-heading">
267
- <a href="Cdda.src/M000012.html" target="Code" class="method-signature"
268
- onclick="popupCode('Cdda.src/M000012.html');return false;">
269
- <span class="method-name">pause</span><span class="method-args">()</span>
270
- </a>
271
- </div>
272
-
273
- <div class="method-description">
274
- <p>
275
- pause the reproduction of cd
276
- </p>
277
- </div>
278
- </div>
279
-
280
- <div id="method-M000011" class="method-detail">
281
- <a name="M000011"></a>
282
-
283
- <div class="method-heading">
284
- <a href="Cdda.src/M000011.html" target="Code" class="method-signature"
285
- onclick="popupCode('Cdda.src/M000011.html');return false;">
286
- <span class="method-name">play</span><span class="method-args">()</span>
287
- </a>
288
- </div>
289
-
290
- <div class="method-description">
291
- <p>
292
- play cd tracks. Returns an array with the first and the last track to play
293
- Ex.: cd with 11 tracks:
294
- </p>
295
- <pre>
296
- cd.play
297
- ==&gt; [1,11]
298
- cd.play(1)
299
- ==&gt; [1,1]
300
- cd.play(2,20)
301
- ==&gt; [2,11]
302
- </pre>
303
- </div>
304
- </div>
305
-
306
- <div id="method-M000013" class="method-detail">
307
- <a name="M000013"></a>
308
-
309
- <div class="method-heading">
310
- <a href="Cdda.src/M000013.html" target="Code" class="method-signature"
311
- onclick="popupCode('Cdda.src/M000013.html');return false;">
312
- <span class="method-name">resume</span><span class="method-args">()</span>
313
- </a>
314
- </div>
315
-
316
- <div class="method-description">
317
- <p>
318
- resume the reproduction of cd after a pause
319
- </p>
320
- </div>
321
- </div>
322
-
323
- <div id="method-M000014" class="method-detail">
324
- <a name="M000014"></a>
325
-
326
- <div class="method-heading">
327
- <a href="Cdda.src/M000014.html" target="Code" class="method-signature"
328
- onclick="popupCode('Cdda.src/M000014.html');return false;">
329
- <span class="method-name">stop</span><span class="method-args">()</span>
330
- </a>
331
- </div>
332
-
333
- <div class="method-description">
334
- <p>
335
- stop the reproduction of the cd
336
- </p>
337
- </div>
338
- </div>
339
-
340
- <div id="method-M000015" class="method-detail">
341
- <a name="M000015"></a>
342
-
343
- <div class="method-heading">
344
- <a href="Cdda.src/M000015.html" target="Code" class="method-signature"
345
- onclick="popupCode('Cdda.src/M000015.html');return false;">
346
- <span class="method-name">subchannel</span><span class="method-args">()</span>
347
- </a>
348
- </div>
349
-
350
- <div class="method-description">
351
- <p>
352
- get subchannel information of reproduction of the cd
353
- </p>
354
- <pre>
355
- cd.subchannel
356
- ==&gt; {&quot;control&quot;=&gt;0, &quot;rel_addr&quot;=&gt;&quot;00:00:02&quot;, &quot;abs_addr&quot;=&gt;&quot;00:02:02&quot;, &quot;format&quot;=&gt;212, &quot;audio_status_desc&quot;=&gt;&quot;no_status&quot;, &quot;track&quot;=&gt;1, &quot;audio_status&quot;=&gt;21, &quot;index&quot;=&gt;1, &quot;address&quot;=&gt;6}
357
- </pre>
358
- </div>
359
- </div>
360
-
361
- <div id="method-M000020" class="method-detail">
362
- <a name="M000020"></a>
363
-
364
- <div class="method-heading">
365
- <a href="Cdda.src/M000020.html" target="Code" class="method-signature"
366
- onclick="popupCode('Cdda.src/M000020.html');return false;">
367
- <span class="method-name">title</span><span class="method-args">()</span>
368
- </a>
369
- </div>
370
-
371
- <div class="method-description">
372
- </div>
373
- </div>
374
-
375
- <div id="method-M000009" class="method-detail">
376
- <a name="M000009"></a>
377
-
378
- <div class="method-heading">
379
- <a href="Cdda.src/M000009.html" target="Code" class="method-signature"
380
- onclick="popupCode('Cdda.src/M000009.html');return false;">
381
- <span class="method-name">volume</span><span class="method-args">()</span>
382
- </a>
383
- </div>
384
-
385
- <div class="method-description">
386
- <p>
387
- get the volume in an array.
388
- </p>
389
- <pre>
390
- cd.volume
391
- ==&gt; [255, 255, 0, 0]
392
- </pre>
393
- </div>
394
- </div>
395
-
396
- <div id="method-M000010" class="method-detail">
397
- <a name="M000010"></a>
398
-
399
- <div class="method-heading">
400
- <a href="Cdda.src/M000010.html" target="Code" class="method-signature"
401
- onclick="popupCode('Cdda.src/M000010.html');return false;">
402
- <span class="method-name">volume=</span><span class="method-args">(vol_set)</span>
403
- </a>
404
- </div>
405
-
406
- <div class="method-description">
407
- <p>
408
- set the volume. You have to put an array
409
- </p>
410
- <p>
411
- cd.volume=[255,255,0,0]
412
- </p>
413
- </div>
414
- </div>
415
-
416
-
417
- </div>
418
-
419
-
420
- </div>
421
-
422
-
423
- <div id="validator-badges">
424
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
425
- </div>
426
-
427
- </body>
428
- </html>