libcdio
2.1.0
|
The top-level header for disc-related libcdio calls. More...
Go to the source code of this file.
Macros | |
#define | cdio_stat_size cdio_get_disc_last_lsn |
Functions | |
uint8_t * | cdio_get_cdtext_raw (CdIo_t *p_cdio) |
cdtext_t * | cdio_get_cdtext (CdIo_t *p_cdio) |
discmode_t | cdio_get_discmode (CdIo_t *p_cdio) |
lsn_t | cdio_get_disc_last_lsn (const CdIo_t *p_cdio) |
uint8_t | cdio_get_joliet_level (const CdIo_t *p_cdio) |
char * | cdio_get_mcn (const CdIo_t *p_cdio) |
track_t | cdio_get_num_tracks (const CdIo_t *p_cdio) |
bool | cdio_is_discmode_cdrom (discmode_t discmode) |
bool | cdio_is_discmode_dvd (discmode_t discmode) |
Variables | |
const char * | discmode2str [] |
The top-level header for disc-related libcdio calls.
#define cdio_stat_size cdio_get_disc_last_lsn |
cdio_stat_size is deprecated.
enum discmode_t |
disc modes. The first combined from MMC-5 6.33.3.13 (Send CUESHEET), "DVD Book" from MMC-5 Table 400, page 419. and GNU/Linux /usr/include/linux/cdrom.h and we've added DVD.
Return a pointer to the cdtext_t object which is attached to a CdIo_t object. If no such cdtext_t is attached yet, then try to read CD-TEXT information and use it to create and initialise the cdtext_t object.
For usage of cdtext_t see include file <cdio/cdtext.h>.
p_cdio | the CD object that may contain CD-Text information. |
uint8_t* cdio_get_cdtext_raw | ( | CdIo_t * | p_cdio | ) |
Read cdtext information for a cdtext_t object. About format and usage of these data see the documentation of call mmc_read_cdtext() in include file <cdio/mmc.h>.
p_cdio | the CD object that may contain CD-Text information. |
Get the lsn of the end of the CD
discmode_t cdio_get_discmode | ( | CdIo_t * | p_cdio | ) |
Get disc mode - the kind of CD (CD-DA, CD-ROM mode 1, CD-MIXED, etc. that we've got. The notion of "CD" is extended a little to include DVD's.
uint8_t cdio_get_joliet_level | ( | const CdIo_t * | p_cdio | ) |
Return the Joliet level recognized for p_cdio.
char* cdio_get_mcn | ( | const CdIo_t * | p_cdio | ) |
Get the media catalog number (MCN) from the CD.
Note: The caller must free the returned string with cdio_free() when done with it.
Get the number of tracks on the CD.
bool cdio_is_discmode_cdrom | ( | discmode_t | discmode | ) |
Return true if discmode is some sort of CD.
bool cdio_is_discmode_dvd | ( | discmode_t | discmode | ) |
Return true if discmode is some sort of DVD.
const char* discmode2str[] |