mirror of
				https://github.com/RaySollium99/picodrive.git
				synced 2025-10-27 00:29:39 -04:00 
			
		
		
		
	 1cfc5cc4ce
			
		
	
	
		1cfc5cc4ce
		
	
	
	
	
		
			
			git-svn-id: file:///home/notaz/opt/svn/PicoDrive@576 be3aeb3a-fb24-0410-a615-afba39da0efa
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
 | |
| typedef enum
 | |
| {
 | |
| 	CT_UNKNOWN = 0,
 | |
| 	CT_ISO = 1,	/* 2048 B/sector */
 | |
| 	CT_BIN = 2,	/* 2352 B/sector */
 | |
| 	CT_MP3 = 3,
 | |
| 	CT_WAV = 4
 | |
| } cue_track_type;
 | |
| 
 | |
| typedef struct
 | |
| {
 | |
| 	char *fname;
 | |
| 	int pregap;		/* pregap for current track */
 | |
| 	int sector_offset;	/* in current file */
 | |
| 	int sector_xlength;
 | |
| 	cue_track_type type;
 | |
| } cue_track;
 | |
| 
 | |
| typedef struct
 | |
| {
 | |
| 	int track_count;
 | |
| 	cue_track tracks[0];
 | |
| } cue_data_t;
 | |
| 
 | |
| 
 | |
| cue_data_t *cue_parse(const char *fname);
 | |
| void        cue_destroy(cue_data_t *data);
 | |
| 
 |