|
libcdio-paranoia
10.2+2.0.0
|
Functions | |
| lsn_t | cdda_track_firstsector (cdrom_drive_t *d, track_t i_track) |
| lsn_t | cdda_disc_firstsector (cdrom_drive_t *d) |
| lsn_t | cdda_track_lastsector (cdrom_drive_t *d, track_t i_track) |
| lsn_t | cdda_disc_lastsector (cdrom_drive_t *d) |
| track_t | cdda_tracks (cdrom_drive_t *d) |
| int | cdio_cddap_sector_gettrack (cdrom_drive_t *d, lsn_t lsn) |
| int | cdio_cddap_track_channels (cdrom_drive_t *d, track_t i_track) |
| int | cdio_cddap_track_audiop (cdrom_drive_t *d, track_t i_track) |
| int | cdio_cddap_track_copyp (cdrom_drive_t *d, track_t i_track) |
| int | cdio_cddap_track_preemp (cdrom_drive_t *d, track_t i_track) |
| lsn_t cdda_disc_firstsector | ( | cdrom_drive_t * | d | ) |
Get first lsn of the first audio track. -1 is returned on error.
| lsn_t cdda_disc_lastsector | ( | cdrom_drive_t * | d | ) |
Get last lsn of the last audio track. The last lssn generally one less than the start of the next track after the audio track. -1 is returned on error.
| lsn_t cdda_track_firstsector | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Return the lsn for the start of track i_track or CDIO_LEADOUT_TRACK
| lsn_t cdda_track_lastsector | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Get last lsn of the track. The lsn is generally one less than the start of the next track. -1 is returned on error.
| track_t cdda_tracks | ( | cdrom_drive_t * | d | ) |
Return the number of tracks on the or 300 if error.
| int cdio_cddap_sector_gettrack | ( | cdrom_drive_t * | d, |
| lsn_t | lsn | ||
| ) |
Return the track containing the given LSN. If the LSN is before the first track (in the pregap), 0 is returned. If there was an error or the LSN after the LEADOUT (beyond the end of the CD), then CDIO_INVALID_TRACK is returned.
| int cdio_cddap_track_audiop | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Return 1 is track is an audio track, 0 otherwise.
| int cdio_cddap_track_channels | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Return the number of channels in track: 2 or 4; -2 if not implemented or -1 for error. Not meaningful if track is not an audio track.
| int cdio_cddap_track_copyp | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Return 1 is track is an audio track, 0 otherwise.
| int cdio_cddap_track_preemp | ( | cdrom_drive_t * | d, |
| track_t | i_track | ||
| ) |
Return 1 is audio track has linear preemphasis set, 0 otherwise. Only makes sense for audio tracks.