6 #include <cdda_interface.h>
7 #include <cdda_paranoia.h>
10 #include <cdio/paranoia.h>
14 char cddb_hello
[1024];
15 unsigned long disc_id
;
19 int freedb_proto_level
;
23 size_t xmcd_file_size
;
28 unsigned int min
, sec
, frame
;
31 typedef struct cd_track
{
33 unsigned int track_nb
;
37 unsigned long frame_begin
;
38 unsigned long frame_length
;
39 struct cd_track
*prev
;
40 struct cd_track
*next
;
47 unsigned int nb_tracks
;
62 cdrom_paranoia_t
* cdp
;
70 cd_info_t
* cd_info_new();
71 void cd_info_free(cd_info_t
*cd_info
);
72 cd_track_t
* cd_info_add_track(cd_info_t
*cd_info
, char *track_name
, unsigned int track_nb
, unsigned int min
, unsigned int sec
, unsigned int msec
, unsigned long frame_begin
, unsigned long frame_length
);
73 cd_track_t
* cd_info_get_track(cd_info_t
*cd_info
, unsigned int track_nb
);
75 void cd_info_debug(cd_info_t
*cd_info
);
77 #endif /* MPLAYER_CDD_H */