07-24-2001
play cd? how?
hi all,
How do I set up my cdrom to play some regular audio cd (not cd-r or cd-rw). I know that my cdrom has been mounted as it does pop up the file manager if I put in, e.g., the office52 cd.
Thanks in advance.
Andre
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I posted this question in the dummies forums, but I would like to get a more expert opinion... I am looking for a new OS to play with. I have a celron 450 running slackware linux, a powermac G4 450 running Mac OS X (Which by the way has 81 days of uptime as of this moment), a PowerBook G3 running... (5 Replies)
Discussion started by: dewhite04
5 Replies
2. UNIX for Dummies Questions & Answers
HI
I AM A FRESH NEW USER ...I MEAN I JUST GOT A COMPUTER ALMOST FOR FREE AND IT RUNS UNIX WHICH I DIDN'T EXPECT
AND DONT KNOW HOW TO WORK ON IT
I THOUGHT IT'LL BE WITH WINDOWS ..YOU KNOW
SO HOW DO I PLAY A CD IN IT.
REMEMBER I KNOW NOTHING ABOUT UNIX , BUT I THINK I'LL GET OVER IT... (1 Reply)
Discussion started by: IMOTEB
1 Replies
3. UNIX for Advanced & Expert Users
dear friends,
i have linux system . can i play songs in linux system.
like winamp player in windows.
let me know. (2 Replies)
Discussion started by: rajan_ka1
2 Replies
4. Linux
can some1 tell me how to start playing? (2 Replies)
Discussion started by: 123456
2 Replies
5. What is on Your Mind?
Do you play video games? If so, what are your favorite games? (54 Replies)
Discussion started by: Neo
54 Replies
6. Shell Programming and Scripting
approximately the same question as the last time, but unfortunately I didn't get
a working answer.
I made a script with bash and gtkdialog that create a play-list. The output is for example :
gtk-media-pause | CB60471-05 - Gilbert, Brantley - Country Must Be Country Wide.zip | 28897 |... (3 Replies)
Discussion started by: jkfloris
3 Replies
7. Shell Programming and Scripting
hi
i want to produce digit sounds.for ex: if my input text is four five six then code should able to
produce sounds corresponding to digits which are stored in some directory as four.wav,five.wav etc.Please help me (8 Replies)
Discussion started by: sreejithalokkan
8 Replies
LEARN ABOUT CENTOS
sdl_cdopen
SDL_CDOpen(3) SDL API Reference SDL_CDOpen(3)
NAME
SDL_CDOpen - Opens a CD-ROM drive for access.
SYNOPSIS
#include "SDL.h"
SDL_CD *SDL_CDOpen(int drive);
DESCRIPTION
Opens a CD-ROM drive for access. It returns a SDL_CD structure on success, or NULL if the drive was invalid or busy. This newly opened CD-
ROM becomes the default CD used when other CD functions are passed a NULL CD-ROM handle.
Drives are numbered starting with 0. Drive 0 is the system default CD-ROM.
EXAMPLES
SDL_CD *cdrom;
int cur_track;
int min, sec, frame;
SDL_Init(SDL_INIT_CDROM);
atexit(SDL_Quit);
/* Check for CD drives */
if(!SDL_CDNumDrives()){
/* None found */
fprintf(stderr, "No CDROM devices available
");
exit(-1);
}
/* Open the default drive */
cdrom=SDL_CDOpen(0);
/* Did if open? Check if cdrom is NULL */
if(!cdrom){
fprintf(stderr, "Couldn't open drive: %s
", SDL_GetError());
exit(-1);
}
/* Print Volume info */
printf("Name: %s
", SDL_CDName(0));
printf("Tracks: %d
", cdrom->numtracks);
for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
FRAMES_TO_MSF(cdrom->track[cur_track].length, &min, &sec, &frame);
printf(" Track %d: Length %d:%d
", cur_track, min, sec);
}
SDL_CDClose(cdrom);
SEE ALSO
SDL_CD, SDL_CDtrack, SDL_CDClose
SDL
Tue 11 Sep 2001, 22:58 SDL_CDOpen(3)