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)
Check Out this Related Man Page
SDL::Video(3) User Contributed Perl Documentation SDL::Video(3)NAME
SDL::Video - a SDL perl extension
SYNOPSIS
$video = new SDL::Video ( -name => 'pr0n.mpg' );
DESCRIPTION
"SDL::Video" adds support for MPEG video to your SDL Perl application. Videos are objects bound to surfaces, whose playback is controled
through the object's interface.
METHODS
o "SDL::Video::error()" returns any error messages associated with playback
o "SDL::Video::audio(bool)" enables or disables audio playback, (on by default)
o "SDL::Video::video(bool)" enables or disable video playback, (on by default)
o "SDL::Video::loop(bool)" enables or disable playback looping (off by default)
o "SDL::Video::volume(int)" set the volume as per the mixer volume
o "SDL::Video:display(surface)" binds the clip to a display surface
o "SDL::Video::scale([x,y]|[surface]|int)" scales the clip by either x,y factors, scales to the image dimensions, or a single scalar.
o "SDL::Video::play()" plays the video clip, call "SDL::Video::display()" before playing
o "SDL::Video::pause()" pauses video playback
o "SDL::Video::stop()" stops video playback
o "SDL::Video::rewind()" resets the clip to the beginning
o "SDL::Video::seek(offset)" seeks to a particular byte offset
o "SDL::Video::skip(time)" skips to a particular time
o "SDL::Video::region(rect)" takes a SDL::Rect and defines the display area
o "SDL::Video::frame(int)" renders a specific frame to the screen
o "SDL::Video::info()" returns a new "SDL::MPEG" object reflecting the current status
o "SDL::Video::status()" returns either SMPEG_PLAYING or SMPEG_STOPPED or SMPEG_ERROR
AUTHOR
David J. Goehrig
SEE ALSO perl(1)SDL::Surface(3)SDL::MPEG(3)perl v5.12.1 2010-07-05 SDL::Video(3)
Hey!
I have just acquired a Unisys SMP6400 server. It has Unix already installed. It has 2 disk drives: 1 is 2 gig with Unix setup on it. The 2nd drive is 8 gig with apps. Both drives are under Mylex DAC960 raid control. Here is my question, can I install Windows 2000 Pro on this machine either... (11 Replies)
Can anyone help me with simple problem.....
I am newie bee UNIX. I want to copy a file from drive A to /temp directory on drive C. How do i do that.?
Thank you (14 Replies)
Hi everybody:
I have Solaris 8 installed on my little Enterprise 3500 and, for a cruel fate of the destiny, Im the admin....
Here is the problem: a week ago I took out a CD from the CDROM drive in an abnormal way.
I inserted a clip in the little hole in the front of the drive because the button... (8 Replies)
Hi all,
Thru the installation i get the message to insert oracle CD 2 into cdrom drive but does not come up.
with eject cdrom i get the device is busy.
what i have to do to open the cdrom drive and continue the installation?
plz explain to complete the installation
thanks
grep (7 Replies)
ihave mandrake 9.2 (will upgrade soon to 10) but anyways, i can't get the Hard drive or the CD-ROM or Floppy to show up on the desktop. can anyone help me out? (11 Replies)
I've been working on installing SCO OpenServer 6.0.0 and need to install a second hard drive onto the system. I have not done this too often (5 years ago for the same client) and I can not write the "divvy table" to the system (I/O Error.) Where can I find detail step by step instructions? (13 Replies)
I use Sunfire V480R , and i am seeing lot of scsi transport errors for the root drive & i think it is going to die . the system is having 2 drives & the second drive is kept unused . can someone guide me how do i clone the root drive to the seconddrive and make that bootable . (13 Replies)
Hey all,
I have a machine with 16 drive slots. Two of the drives have a ZFS mirror of the operating system, the other 14 contain the storage raidz.
So, after installing Opensolaris on the OS drives, how can I remount the storage raid?
TIA (11 Replies)
I've got two drives in the same Sun server and I've been cloning the boot drive to the secondary drive by using both ufsdump/ufsrestore and the dd command sucessfully.
When I try and boot the cloned drive I get the following error:
WARNING - /usr/sbin/fsck not found. Most likely the mount... (10 Replies)
I'm just curious about the amount of time it takes you to get to work in the morning and whether you drive a car, ride a bike, walk or take public transportation.
On a typical day I drive 10-15 minutes from my house to my work location followed by a 10 walk from the parking lot (car park to my... (12 Replies)
Hi guys.
I realize it's a 7-year-old drive, but is there any reason why it's not listed it when I try to install Mint?
All my other drives are recognized:
http://bammbamm.org/Visual/LinuxMint/MissingMaxtor.png
Any advice would be appreciated. Thanks! ~ Bamm (13 Replies)
Hi All
I have a RAID 5 array consisting of 4 drives that had a partial drive failure in one of the drives.
Rebooting shows the faulty drive as background rebuilding and mdadm /dev/ARRAYID shows three drives as in sync with the fourth drive as spare rebuilding.
However the array won't come... (9 Replies)
I have had some issues with a data drive and have copied all of the data to a new drive. The size used is not the same on both drives with a 3GB difference (less on the new drive). There are millions of files on the data drive, so it is not an easy task to determine if there are some files missing... (17 Replies)
With a sun storage array j4200 with a failed drive.
It's got 11 other drive right now running seagate's
ST314655SSUN146G
I'm about to replace that one drive with seagate's ST3146356SS drive.
Do anyone see this as a problem to use non-Sun drives in Sun storage array or mixing the two... (9 Replies)
Hi, I have recently inherited an old p520 from work running AIX 6.1, based on the POWER6 CPU. I'm planning to play around with it and use it to learn the system, so this is a purely personal project. The machine is not under a support contract any more.
I am looking to replace one of the disks... (11 Replies)