Unix and Linux Discussions Tagged with drive |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
28,544 |
BSD |
|
|
|
3 |
7,226 |
Hardware |
|
|
|
11 |
18,566 |
AIX |
|
|
|
12 |
27,572 |
AIX |
|
|
|
3 |
5,596 |
HP-UX |
|
|
|
10 |
11,902 |
Linux |
|
|
|
17 |
4,942 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
17,091 |
Ubuntu |
|
|
|
1 |
6,772 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,258 |
Shell Programming and Scripting |
|
|
|
4 |
20,262 |
Ubuntu |
|
|
|
4 |
4,048 |
Solaris |
|
|
|
0 |
1,813 |
Solaris BigAdmin RSS |
|
|
|
1 |
4,786 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
3,546 |
SCO |
|
|
|
6 |
3,569 |
OS X (Apple) |
|
|
|
1 |
3,318 |
Ubuntu |
|
|
|
1 |
2,612 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,364 |
Shell Programming and Scripting |
|
|
|
0 |
6,222 |
Solaris |
|
|
|
1 |
2,341 |
Solaris |
|
|
|
0 |
1,719 |
Solaris |
|
|
|
0 |
3,205 |
OS X Support RSS |
|
|
|
0 |
4,461 |
OS X Support RSS |
|
|
|
0 |
1,792 |
Complex Event Processing RSS News |
|
|
|
1 |
4,600 |
Solaris |
|
|
|
1 |
3,957 |
Linux |
|
|
|
0 |
3,658 |
SCO |
|
|
|
2 |
5,903 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,822 |
Shell Programming and Scripting |
|
|
|
0 |
1,487 |
UNIX and Linux RSS News |
|
|
|
12 |
8,931 |
Solaris |
|
|
|
0 |
1,948 |
Solaris BigAdmin RSS |
|
|
|
1 |
5,904 |
AIX |
|
|
|
0 |
2,171 |
HP Server News and Podcasts RSS |
|
|
|
0 |
3,514 |
HP Server News and Podcasts RSS |
|
|
|
0 |
2,896 |
HP Server News and Podcasts RSS |
|
|
|
0 |
1,836 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,826 |
Programming |
|
|
|
0 |
2,418 |
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)