Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sdl::cdrom(3) [suse man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix with Windows 2000

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)
Discussion started by: mastermold
11 Replies

2. UNIX for Dummies Questions & Answers

Copying a file

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)
Discussion started by: jackpotp
14 Replies

3. UNIX for Dummies Questions & Answers

Cdrom Problem!!!

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)
Discussion started by: piltrafa
8 Replies

4. UNIX for Dummies Questions & Answers

Can't open CDROM drive

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)
Discussion started by: grep
7 Replies

5. SuSE

mandrake problem

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)
Discussion started by: linux_newbe
11 Replies

6. SCO

Add hard drive to SCO 6.0.0

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)
Discussion started by: uxlunatick
13 Replies

7. Solaris

Cloning the root drive - Help Plz

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)
Discussion started by: skamal4u
13 Replies

8. Solaris

Mount old zfs filesystem

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)
Discussion started by: PatrickBaer
11 Replies

9. Solaris

Solaris 8 Clone - Help

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)
Discussion started by: johnj1965
10 Replies

10. What is on Your Mind?

How long is your commute to work?

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)
Discussion started by: bluescreen
12 Replies

11. Hardware

Maxtor 6Y120M0 not recognized by Linux Mint 10 "Julia" – KDE (64-bit)

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)
Discussion started by: BammBamm
13 Replies

12. Emergency UNIX and Linux Support

mdadm unable to fail a resyncing drive?

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)
Discussion started by: Bashingaway
9 Replies

13. Shell Programming and Scripting

Simple directory tree diff script

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)
Discussion started by: LMHmedchem
17 Replies

14. Solaris

Generic drive in a Sun Storage Array?

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)
Discussion started by: JT-KGY
9 Replies

15. AIX

Hard drive compatibility for POWER6 p520

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)
Discussion started by: topcat
11 Replies