Top | ![]() |
![]() |
![]() |
![]() |
BraseroTrackStream *
brasero_track_stream_new (void
);
Creates a new BraseroTrackStream object.
This type of tracks is used to burn audio or video files.
BraseroBurnResult brasero_track_stream_set_source (BraseroTrackStream *track
,const gchar *uri
);
Sets the stream (song or video) uri.
Note: it resets the end point of the track to 0 but keeps start point and gap unchanged.
BraseroBurnResult brasero_track_stream_set_format (BraseroTrackStream *track
,BraseroStreamFormat format
);
Sets the format of the stream.
BraseroBurnResult brasero_track_stream_set_boundaries (BraseroTrackStream *track
,gint64 start
,gint64 end
,gint64 gap
);
Sets the boundaries of the stream (where it starts, ends in the file; how long is the gap with the next track) in nano seconds.
gchar * brasero_track_stream_get_source (BraseroTrackStream *track
,gboolean uri
);
This function returns the path or the URI (if uri
is TRUE)
of the stream (song or video file).
Note: this function resets any length previously set to 0.
BraseroBurnResult brasero_track_stream_get_length (BraseroTrackStream *track
,guint64 *length
);
This function returns the length of the stream (in nano seconds)
taking into account the start and end time as well as the length
of the gap. It stores it in length
.
guint64
brasero_track_stream_get_start (BraseroTrackStream *track
);
This function returns start time in the stream (in nano seconds).
guint64
brasero_track_stream_get_end (BraseroTrackStream *track
);
This function returns end time in the stream (in nano seconds).
guint64
brasero_track_stream_get_gap (BraseroTrackStream *track
);
This function returns length of the gap (in nano seconds).
BraseroStreamFormat
brasero_track_stream_get_format (BraseroTrackStream *track
);
This function returns the format of the stream.