| Top |
void
burner_track_changed (BurnerTrack *track);
Used internally in BurnerTrack implementations to signal a BurnerTrack object has changed.
BurnerBurnResult burner_track_get_size (BurnerTrack *track,goffset *blocks,goffset *bytes);
Returns the size of the data contained by track
in bytes or in sectors
a BurnerBurnResult.
BURNER_BURN_OK if it was successful
BURNER_BURN_NOT_READY if track
needs more time for processing the size
BURNER_BURN_ERR if something is wrong or if it is empty
BurnerBurnResult burner_track_get_track_type (BurnerTrack *track,BurnerTrackType *type);
Sets type
to reflect the type of data contained in track
BurnerBurnResult burner_track_get_status (BurnerTrack *track,BurnerStatus *status);
Sets status
to reflect whether track
is ready to be used
a BurnerBurnResult.
BURNER_BURN_OK if it was successful
BURNER_BURN_NOT_READY if track
needs more time for processing
BURNER_BURN_ERR if something is wrong or if it is empty
BurnerBurnResult burner_track_set_checksum (BurnerTrack *track,BurnerChecksumType type,const gchar *checksum);
Sets a checksum for the track
a BurnerBurnResult. BURNER_BURN_OK if the checksum was previously empty or matches the new one BURNER_BURN_ERR otherwise
const gchar *
burner_track_get_checksum (BurnerTrack *track);
Get the current checksum (as a string) for the track
BurnerChecksumType
burner_track_get_checksum_type (BurnerTrack *track);
Get the current checksum type for the track if any.
BurnerBurnResult burner_track_tag_add (BurnerTrack *track,const gchar *tag,GValue *value);
Associates a new tag
with a track. This can be used
to pass arbitrary information for plugins, like parameters
for video discs, ...
See burner-tags.h for a list of knowns tags.
BurnerBurnResult burner_track_tag_lookup (BurnerTrack *track,const gchar *tag,GValue **value);
Retrieves a value associated with track
through
burner_track_tag_add() and stores it in value
. Do
not destroy value
afterwards as it is not a copy
a BurnerBurnResult. BURNER_BURN_OK if the retrieval was successful BURNER_BURN_ERR otherwise
void burner_track_tag_copy_missing (BurnerTrack *dest,BurnerTrack *src);
Adds all tags of dest
to src
provided they do not
already exists.
BurnerBurnResult burner_track_tag_add_string (BurnerTrack *track,const gchar *tag,const gchar *string);
A wrapper around burner_track_tag_add() to associate
a string with track
See also burner_track_tag_add()
const gchar * burner_track_tag_lookup_string (BurnerTrack *track,const gchar *tag);
Retrieves a string value associated with track
. This
is a wrapper around burner_track_tag_lookup().
BurnerBurnResult burner_track_tag_add_int (BurnerTrack *track,const gchar *tag,int value);
A wrapper around burner_track_tag_add() to associate
a int value with track
See also burner_track_tag_add()
int burner_track_tag_lookup_int (BurnerTrack *track,const gchar *tag);
Retrieves a int value associated with track
. This
is a wrapper around burner_track_tag_lookup().