include/SDL_cdrom.h
changeset 1046 f09d5edfc7a3
parent 911 04a403e4ccf5
child 1312 c9b51268668f
equal deleted inserted replaced
1045:63b8e93a3a52 1046:f09d5edfc7a3
    58 	CD_PAUSED,
    58 	CD_PAUSED,
    59 	CD_ERROR = -1
    59 	CD_ERROR = -1
    60 } CDstatus;
    60 } CDstatus;
    61 
    61 
    62 /* Given a status, returns true if there's a disk in the drive */
    62 /* Given a status, returns true if there's a disk in the drive */
    63 #define CD_INDRIVE(status)	((int)status > 0)
    63 #define CD_INDRIVE(status)	((int)(status) > 0)
    64 
    64 
    65 typedef struct SDL_CDtrack {
    65 typedef struct SDL_CDtrack {
    66 	Uint8 id;		/* Track number */
    66 	Uint8 id;		/* Track number */
    67 	Uint8 type;		/* Data or audio track */
    67 	Uint8 type;		/* Data or audio track */
    68 	Uint16 unused;
    68 	Uint16 unused;