/external/qemu/distrib/sdl-1.2.15/src/cdrom/ |
SDL_cdrom.c | 65 static int CheckInit(int check_cdrom, SDL_CD **cdrom) 70 if ( check_cdrom && (*cdrom == NULL) ) { 71 *cdrom = default_cdrom; 72 if ( *cdrom == NULL ) { 109 struct SDL_CD *cdrom; local 118 cdrom = (SDL_CD *)SDL_malloc(sizeof(*cdrom)); 119 if ( cdrom == NULL ) { 123 SDL_memset(cdrom, 0, sizeof(*cdrom)); [all...] |
SDL_syscdrom.h | 35 The TOC information should be stored in the cdrom structure. 38 int (*GetTOC)(SDL_CD *cdrom); 43 CDstatus (*Status)(SDL_CD *cdrom, int *position); 46 int (*Play)(SDL_CD *cdrom, int start, int len); 49 int (*Pause)(SDL_CD *cdrom); 52 int (*Resume)(SDL_CD *cdrom); 55 int (*Stop)(SDL_CD *cdrom); 58 int (*Eject)(SDL_CD *cdrom); 61 void (*Close)(SDL_CD *cdrom);
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_CDEject.3 | 3 SDL_CDEject \- Ejects a CDROM 8 \fBint \fBSDL_CDEject\fP\fR(\fBSDL_CD *cdrom\fR);
|
SDL_CDPause.3 | 3 SDL_CDPause \- Pauses a CDROM 8 \fBint \fBSDL_CDPause\fP\fR(\fBSDL_CD *cdrom\fR);
|
SDL_CDResume.3 | 3 SDL_CDResume \- Resumes a CDROM 8 \fBint \fBSDL_CDResume\fP\fR(\fBSDL_CD *cdrom\fR);
|
SDL_CDStop.3 | 3 SDL_CDStop \- Stops a CDROM 8 \fBint \fBSDL_CDStop\fP\fR(\fBSDL_CD *cdrom\fR);
|
SDL_CDOpen.3 | 17 \f(CWSDL_CD *cdrom; 26 fprintf(stderr, "No CDROM devices available 32 cdrom=SDL_CDOpen(0); 34 /* Did if open? Check if cdrom is NULL */ 35 if(!cdrom){ 45 ", cdrom->numtracks); 46 for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){ 47 FRAMES_TO_MSF(cdrom->track[cur_track]\&.length, &min, &sec, &frame); 52 SDL_CDClose(cdrom);\fR
|
SDL_CDClose.3 | 8 \fBvoid \fBSDL_CDClose\fP\fR(\fBSDL_CD *cdrom\fR);
|
SDL_CDPlayTracks.3 | 8 \fBint \fBSDL_CDPlayTracks\fP\fR(\fBSDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes)\fR); 29 \f(CW/* assuming cdrom is a previously opened device */ 31 if(CD_INDRIVE(SDL_CDStatus(cdrom))) 32 SDL_CDPlayTracks(cdrom, 0, 0, 0, 0); 35 if(CD_INDRIVE(SDL_CDStatus(cdrom))) 36 SDL_CDPlayTracks(cdrom, 0, 0, 1, 0); 39 if(CD_INDRIVE(SDL_CDStatus(cdrom))) 40 SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15);\fR
|
SDL_CDPlay.3 | 8 \fBint \fBSDL_CDPlay\fP\fR(\fBSDL_CD *cdrom, int start, int length\fR);
|
SDL_CDStatus.3 | 8 \fBCDstatus \fBSDL_CDStatus\fP\fR(\fBSDL_CD *cdrom\fR); 42 if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) { 44 if (track >= cdrom->numtracks) { 45 track = cdrom->numtracks-1; 48 if ( SDL_CDPlayTracks(cdrom, track, 0, 1, 0) == 0 ) {
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/dc/ |
SDL_syscdrom.c | 28 #include <dc/cdrom.h> 37 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 38 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 39 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 40 static int SDL_SYS_CDPause(SDL_CD *cdrom); 41 static int SDL_SYS_CDResume(SDL_CD *cdrom); 42 static int SDL_SYS_CDStop(SDL_CD *cdrom); 43 static int SDL_SYS_CDEject(SDL_CD *cdrom); 44 static void SDL_SYS_CDClose(SDL_CD *cdrom); 75 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/ |
SDL_syscdrom.c | 61 static void SDL_SYS_CDClose(SDL_CD *cdrom); 63 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 64 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 65 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 66 static int SDL_SYS_CDPause(SDL_CD *cdrom); 67 static int SDL_SYS_CDResume(SDL_CD *cdrom); 68 static int SDL_SYS_CDStop(SDL_CD *cdrom); 69 static int SDL_SYS_CDEject(SDL_CD *cdrom); 153 static void SDL_SYS_CDClose(SDL_CD *cdrom) 155 Metaclose(metados_drives[cdrom->id].device[0]) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/ |
SDL_syscdrom.c | 52 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 53 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 54 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 55 static int SDL_SYS_CDPause(SDL_CD *cdrom); 56 static int SDL_SYS_CDResume(SDL_CD *cdrom); 57 static int SDL_SYS_CDStop(SDL_CD *cdrom); 58 static int SDL_SYS_CDEject(SDL_CD *cdrom); 59 static void SDL_SYS_CDClose(SDL_CD *cdrom); 164 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) 173 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, &mci_status) == 0 ) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
SDL_syscdrom.c | 45 static int SDL_SYS_CDGetTOC (SDL_CD *cdrom); 46 static CDstatus SDL_SYS_CDStatus (SDL_CD *cdrom, int *position); 47 static int SDL_SYS_CDPlay (SDL_CD *cdrom, int start, int length); 48 static int SDL_SYS_CDPause (SDL_CD *cdrom); 49 static int SDL_SYS_CDResume (SDL_CD *cdrom); 50 static int SDL_SYS_CDStop (SDL_CD *cdrom); 51 static int SDL_SYS_CDEject (SDL_CD *cdrom); 52 static void SDL_SYS_CDClose (SDL_CD *cdrom); 57 static int LoadTracks (SDL_CD *cdrom) 60 if ( tracks[cdrom->id] != NULL [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testcdrom.c | 18 static void PrintStatus(int driveindex, SDL_CD *cdrom) 23 status = SDL_CDStatus(cdrom); 44 FRAMES_TO_MSF(cdrom->cur_frame, &m, &s, &f); 46 cdrom->track[cdrom->cur_track].id, m, s); 50 static void ListTracks(SDL_CD *cdrom) 56 SDL_CDStatus(cdrom); 57 printf("Drive tracks: %d\n", cdrom->numtracks); 58 for ( i=0; i<cdrom->numtracks; ++i ) { 59 FRAMES_TO_MSF(cdrom->track[i].length, &m, &s, &f) 97 SDL_CD *cdrom; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/ |
SDL_syscdrom.c | 58 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 59 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 60 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 61 static int SDL_SYS_CDPause(SDL_CD *cdrom); 62 static int SDL_SYS_CDResume(SDL_CD *cdrom); 63 static int SDL_SYS_CDStop(SDL_CD *cdrom); 64 static int SDL_SYS_CDEject(SDL_CD *cdrom); 65 static void SDL_SYS_CDClose(SDL_CD *cdrom); 159 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) 167 cdpb.ioVRefNum = SDL_cdlist[cdrom->id].driveNum [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
SDL_syscdrom.c | 34 #include <sys/cdrom.h> 54 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 55 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 56 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 57 static int SDL_SYS_CDPause(SDL_CD *cdrom); 58 static int SDL_SYS_CDResume(SDL_CD *cdrom); 59 static int SDL_SYS_CDStop(SDL_CD *cdrom); 60 static int SDL_SYS_CDEject(SDL_CD *cdrom); 61 static void SDL_SYS_CDClose(SDL_CD *cdrom); 143 /* checklist: /dev/cdrom, /dev/cd?, /dev/scd? * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
SDL_syscdrom.c | 51 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 52 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 53 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 54 static int SDL_SYS_CDPause(SDL_CD *cdrom); 55 static int SDL_SYS_CDResume(SDL_CD *cdrom); 56 static int SDL_SYS_CDStop(SDL_CD *cdrom); 57 static int SDL_SYS_CDEject(SDL_CD *cdrom); 58 static void SDL_SYS_CDClose(SDL_CD *cdrom); 138 "?0 cd?c", "cdrom", NULL 140 "?0 cd?d", "?0 cd?c", "cdrom", NUL [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/ |
SDL_syscdrom.c | 49 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 50 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 51 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 52 static int SDL_SYS_CDPause(SDL_CD *cdrom); 53 static int SDL_SYS_CDResume(SDL_CD *cdrom); 54 static int SDL_SYS_CDStop(SDL_CD *cdrom); 55 static int SDL_SYS_CDEject(SDL_CD *cdrom); 56 static void SDL_SYS_CDClose(SDL_CD *cdrom); 131 /* checklist: /dev/cdrom,/dev/cd?c /dev/acd?c 134 "cdrom", "?0 cd?", "?0 acd?", "?0 matcd?", "?0 mcd?", "?0 scd?",NUL [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
guidecdromexamples.html | 4 >CDROM Examples</TITLE 78 >CDROM Examples</H1 119 > SDL_CD *cdrom; 123 cdrom = SDL_CDOpen(0); 124 if ( cdrom == NULL ) { 130 status = SDL_CDStatus(cdrom); 151 FRAMES_TO_MSF(cdrom->cur_frame, &m, &s, &f); 153 cdrom->track[cdrom->cur_track].id, m, s); 168 > SDL_CD *cdrom; /* Assuming this has already been set.. * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
SDL_syscdrom.c | 33 #include <io/cam/cdrom.h> 50 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 51 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 52 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 53 static int SDL_SYS_CDPause(SDL_CD *cdrom); 54 static int SDL_SYS_CDResume(SDL_CD *cdrom); 55 static int SDL_SYS_CDStop(SDL_CD *cdrom); 56 static int SDL_SYS_CDEject(SDL_CD *cdrom); 57 static void SDL_SYS_CDClose(SDL_CD *cdrom); 141 * Tru64 5.X (/dev/rdisk/cdrom?c [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
SDL_syscdrom.cc | 70 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 71 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 72 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 73 static int SDL_SYS_CDPause(SDL_CD *cdrom); 74 static int SDL_SYS_CDResume(SDL_CD *cdrom); 75 static int SDL_SYS_CDStop(SDL_CD *cdrom); 76 static int SDL_SYS_CDEject(SDL_CD *cdrom); 77 static void SDL_SYS_CDClose(SDL_CD *cdrom); 283 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) 288 if ( SDL_SYS_CDioctl(cdrom->id, B_SCSI_GET_TOC, &toc) == 0 ) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
SDL_syscdrom.c | 49 #include <linux/cdrom.h> 101 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 102 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 103 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 104 static int SDL_SYS_CDPause(SDL_CD *cdrom); 105 static int SDL_SYS_CDResume(SDL_CD *cdrom); 106 static int SDL_SYS_CDStop(SDL_CD *cdrom); 107 static int SDL_SYS_CDEject(SDL_CD *cdrom); 108 static void SDL_SYS_CDClose(SDL_CD *cdrom); 261 /* checklist: /dev/cdrom, /dev/hd?, /dev/scd? /dev/sr? * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/ |
SDL_syscdrom.c | 48 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom); 49 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position); 50 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length); 51 static int SDL_SYS_CDPause(SDL_CD *cdrom); 52 static int SDL_SYS_CDResume(SDL_CD *cdrom); 53 static int SDL_SYS_CDStop(SDL_CD *cdrom); 54 static int SDL_SYS_CDEject(SDL_CD *cdrom); 55 static void SDL_SYS_CDClose(SDL_CD *cdrom); 145 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) 153 if (cdrom->status == CD_PLAYING || cdrom->status == CD_PAUSED) return 0 [all...] |