Constructor
RBTrackTransferBatchnew
Declaration [src]
RBTrackTransferBatch*
rb_track_transfer_batch_new (
GstEncodingTarget* target,
GSettings* settings,
GObject* source,
GObject* destination,
GObject* queue
)
Description [src]
Creates a new transfer batch with the specified encoding target. If no target is specified, the default target will be used with the user’s preferred encoding type.
One or more entries must be added to the batch (using #rb_track_transfer_batch_add) before the batch can be started (#rb_track_transfer_manager_start_batch).
Parameters
target-
Type:
GstEncodingTargetA
GstEncodingTargetdescribing allowable encodings (or NULL for defaults).The data is owned by the caller of the function. settings-
Type:
GSettingsNo description available.
The data is owned by the caller of the function. source-
Type:
GObjectThe
RBSourcefrom which the entries are to be transferred.The data is owned by the caller of the function. destination-
Type:
GObjectThe
RBSourceto which the entries are to be transferred.The data is owned by the caller of the function. queue-
Type:
GObjectThe
RBTrackTransferQueueinstance.The data is owned by the caller of the function.
Return value
Type: RBTrackTransferBatch
New RBTrackTransferBatch object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |