[][src]Crate discid_sys

Modules

discid_feature

Constants

DISCID_FEATURE_LENGTH
DISCID_FEATURE_STR_ISRC
DISCID_FEATURE_STR_MCN
DISCID_FEATURE_STR_READ

Functions

discid_free

Release the memory allocated for the DiscId object.

discid_get_default_device

Return the name of the default disc drive for this machine. This isn't constant, but possibly depends on the drives currently attached, depending on the platform. For this reason you should call this once and save it when you want to make sure to use the same drive for multiple operations.

discid_get_error_msg

Return a human-readable error message.

discid_get_feature_list

Return a list of features supported by the current platform. The array of length ::DISCID_FEATURE_LENGTH should be allocated by the user. After the call each element of the array is either NULL or a pointer to a static string.

discid_get_first_track_num

Return the number of the first track on this disc.

discid_get_freedb_id

Return a FreeDB DiscID.

discid_get_id

Return a MusicBrainz DiscID.

discid_get_last_track_num

Return the number of the last audio track on this disc.

discid_get_mcn

Return the Media Catalogue Number (MCN) for the disc.

discid_get_sectors

Return the length of the disc in sectors.

discid_get_submission_url

Return an URL for submitting the DiscID to MusicBrainz.

discid_get_toc_string

Return a string representing CD Table Of Contents (TOC).

discid_get_track_isrc

Return the ISRC for a track.

discid_get_track_length

Return the length of a track in sectors.

discid_get_track_offset

Return the sector offset of a track.

discid_get_version_string

Return the full version string of this library, including the name. This can be used for debug output. Don't use this to test for features, see discid_has_feature().

discid_get_webservice_url

Return an URL for retrieving CD information from MusicBrainz' web service

discid_has_feature

Check if a certain feature is implemented on the current platform.

discid_new

Return a handle for a new DiscId object.

discid_put

Provides the TOC of a known CD.

discid_read

Read all supported features of the disc in the given CD-ROM/DVD-ROM drive.

discid_read_sparse

Read the disc in the given CD-ROM/DVD-ROM drive extracting only the TOC and additionally specified features.

Type Definitions

DiscId

A transparent handle for an Audio CD.