include/SDL_cdrom.h
changeset 911 04a403e4ccf5
parent 769 b8d311d90021
child 1046 f09d5edfc7a3
equal deleted inserted replaced
910:4ab6d1fd028f 911:04a403e4ccf5
    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 {
    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;
    69 	Uint32 length;		/* Length, in frames, of this track */
    69 	Uint32 length;		/* Length, in frames, of this track */
    70 	Uint32 offset;		/* Offset, in frames, from start of disk */
    70 	Uint32 offset;		/* Offset, in frames, from start of disk */