burn_track_set_source

Function burn_track_set_source 

Source
pub unsafe extern "C" fn burn_track_set_source(
    t: *mut burn_track,
    s: *mut burn_source,
) -> burn_source_status
Expand description

Set the track’s data source

@param t The track to set the data source for

@param s The data source to use for the contents of the track

@return An error code stating if the source is ready for use for writing the track, or if an error occurred