Unix and Linux Discussions Tagged with drive |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
29,222 |
BSD |
|
|
|
3 |
7,435 |
Hardware |
|
|
|
11 |
19,036 |
AIX |
|
|
|
12 |
28,085 |
AIX |
|
|
|
3 |
5,850 |
HP-UX |
|
|
|
10 |
12,315 |
Linux |
|
|
|
17 |
5,271 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
17,149 |
Ubuntu |
|
|
|
1 |
6,820 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,333 |
Shell Programming and Scripting |
|
|
|
4 |
20,405 |
Ubuntu |
|
|
|
4 |
4,097 |
Solaris |
|
|
|
0 |
1,870 |
Solaris BigAdmin RSS |
|
|
|
1 |
4,845 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
3,580 |
SCO |
|
|
|
6 |
3,616 |
OS X (Apple) |
|
|
|
1 |
3,369 |
Ubuntu |
|
|
|
1 |
2,648 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,396 |
Shell Programming and Scripting |
|
|
|
0 |
6,277 |
Solaris |
|
|
|
1 |
2,369 |
Solaris |
|
|
|
0 |
1,753 |
Solaris |
|
|
|
0 |
3,246 |
OS X Support RSS |
|
|
|
0 |
4,495 |
OS X Support RSS |
|
|
|
0 |
1,818 |
Complex Event Processing RSS News |
|
|
|
1 |
4,675 |
Solaris |
|
|
|
1 |
4,018 |
Linux |
|
|
|
0 |
3,709 |
SCO |
|
|
|
2 |
5,947 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,864 |
Shell Programming and Scripting |
|
|
|
0 |
1,510 |
UNIX and Linux RSS News |
|
|
|
12 |
9,058 |
Solaris |
|
|
|
0 |
1,996 |
Solaris BigAdmin RSS |
|
|
|
1 |
6,023 |
AIX |
|
|
|
0 |
2,217 |
HP Server News and Podcasts RSS |
|
|
|
0 |
3,569 |
HP Server News and Podcasts RSS |
|
|
|
0 |
2,951 |
HP Server News and Podcasts RSS |
|
|
|
0 |
1,886 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,878 |
Programming |
|
|
|
0 |
2,463 |
UNIX for Advanced & Expert Users |
SDL::Cdrom(3) User Contributed Perl Documentation SDL::Cdrom(3)
NAME
SDL::Cdrom - a SDL perl extension for managing CD-ROM drives
SYNOPSIS
use SDL::Cdrom;
$cdrom = SDL::Cdrom->new(0);
$cdrom->play();
EXPORTS
o "CD_NUM_DRIVES".
DESCRIPTION
Create a new SDL::Cdrom object. The passed $id is the number of the drive, whereas 0 is the first drive etc.
use SDL::Cdrom;
my $drive => SDL::Cdrom->new($id);
METHODS
CD_NUM_DRIVES()
Returns the number of CD-ROM drives present.
name()
Returns the system dependent name of the CD-ROM device.
status()
Return the status of the drive.
play()
Play a track.
pause()
Pause the playing.
resume()
Resume the playing.
stop()
Stop the playing.
eject()
Eject the medium in the drive.
id()
Return the ID of the drive.
num_tracks()
Return the number of tracks on the medium.
track()
Returns the track description
current()
Return the current played track number.
current_frame()
Return the current frame.
AUTHORS
David J. Goehrig Documentation by Tels <http://bloodgate.com/>.
SEE ALSO
perl SDL::Mixer SDL::App.
perl v5.12.1 2010-07-05 SDL::Cdrom(3)