![]() |
![]() |
![]() |
Libbrasero-burn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
BraseroTrackStream; BraseroTrackStream * brasero_track_stream_new (void); BraseroBurnResult brasero_track_stream_set_source (BraseroTrackStream *track, const gchar *uri); BraseroBurnResult brasero_track_stream_set_format (BraseroTrackStream *track, BraseroStreamFormat format); BraseroBurnResult brasero_track_stream_set_boundaries (BraseroTrackStream *track, gint64 start, gint64 end, gint64 gap); gchar * brasero_track_stream_get_source (BraseroTrackStream *track, gboolean uri); BraseroBurnResult brasero_track_stream_get_length (BraseroTrackStream *track, guint64 *length); guint64 brasero_track_stream_get_start (BraseroTrackStream *track); guint64 brasero_track_stream_get_end (BraseroTrackStream *track); guint64 brasero_track_stream_get_gap (BraseroTrackStream *track); BraseroStreamFormat brasero_track_stream_get_format (BraseroTrackStream *track);
BraseroTrackStream * brasero_track_stream_new (void);
Creates a new BraseroTrackStream object.
This type of tracks is used to burn audio or video files.
Returns : |
a BraseroTrackStream object. |
BraseroBurnResult brasero_track_stream_set_source (BraseroTrackStream *track, const gchar *uri);
Sets the stream (song or video) uri.
|
a BraseroTrackStream |
|
a gchar |
Returns : |
a BraseroBurnResult. BRASERO_BURN_OK if it is successful. |
BraseroBurnResult brasero_track_stream_set_format (BraseroTrackStream *track, BraseroStreamFormat format);
Sets the format of the stream.
|
a BraseroTrackStream |
|
a BraseroStreamFormat |
Returns : |
a BraseroBurnResult. BRASERO_BURN_OK if it is successful. |
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.
|
a BraseroTrackStream |
|
a gint64 or -1 to ignore |
|
a gint64 or -1 to ignore |
|
a gint64 or -1 to ignore |
Returns : |
a BraseroBurnResult. BRASERO_BURN_OK if it is successful. |
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).
|
a BraseroTrackStream |
|
a gboolean |
Returns : |
a gchar. |
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
.
|
a BraseroTrackStream |
|
a guint64 |
Returns : |
a BraseroBurnResult. BRASERO_BURN_OK if length was set.
|
guint64 brasero_track_stream_get_start (BraseroTrackStream *track);
This function returns start time in the stream (in nano seconds).
|
a BraseroTrackStream |
Returns : |
a guint64. |
guint64 brasero_track_stream_get_end (BraseroTrackStream *track);
This function returns end time in the stream (in nano seconds).
|
a BraseroTrackStream |
Returns : |
a guint64. |
guint64 brasero_track_stream_get_gap (BraseroTrackStream *track);
This function returns length of the gap (in nano seconds).
|
a BraseroTrackStream |
Returns : |
a guint64. |
BraseroStreamFormat brasero_track_stream_get_format (BraseroTrackStream *track);
This function returns the format of the stream.
|
a BraseroTrackStream |
Returns : |
a BraseroStreamFormat. |