

Public Member Functions | |
| native String | getName () |
| Returns the human-readable identifier for the CD-ROM drive. | |
| int | getIndex () |
| Returns the identifier for the CD-ROM drive. | |
| native boolean | isOpened () |
| native void | open () |
| native void | close () |
| native int | getStatus () |
| Returns the current status of this drive. | |
| native void | play (int start_frame, int frame_length) |
| native void | playTracks (int start_track, int start_frame, int ntracks, int nframes) |
| void | playTracks (int start_track, int start_frame) |
| void | playTracks () |
| native void | pause () |
| native void | resume () |
| native void | stop () |
| native void | eject () |
| boolean | inDrive () |
| Returns the disk status in this drive. | |
| native int | getNumTracks () |
| Returns the number of tracks current CD. | |
| native int | getCurrentTrack () |
| Returns current track index. | |
| native int | getCurrentFrame () |
| Returns current frame in current track. | |
| native CDTrack[] | getTracks () |
| Returns track infomations. | |
| String | toString () |
Static Public Member Functions | |
| native int | getNumDrives () |
| Returns the number of CD-ROM drives on the system. | |
| CD | getCD (int index) |
| CD | getCD () |
| CD[] | getAllCD () |
| int | msfToFrames (int minute, int second, int frames) |
| int | framesToMinute (int frames) |
| int | framesToSecond (int frames) |
| int | framesToFrame (int frames) |
Protected Member Functions | |
| void | finalize () throws Throwable |
Private Member Functions | |
| CD (int cdIndex) | |
Static Private Member Functions | |
| CD[] | getDrives () |
Private Attributes | |
| int | index |
| CDTrack[] | tracks = new CDTrack[SDL_MAX_TRACKS] |
| gnu.gcj.RawData | implementation |
Static Private Attributes | |
| CD[] | drives |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns current frame in current track.
|
|
|
Returns current track index.
|
|
|
|
|
|
Returns the identifier for the CD-ROM drive.
|
|
|
Returns the human-readable identifier for the CD-ROM drive.
|
|
|
Returns the number of CD-ROM drives on the system.
|
|
|
Returns the number of tracks current CD.
|
|
|
Returns the current status of this drive.
|
|
|
Returns track infomations.
|
|
|
Returns the disk status in this drive.
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7