INCOMPATIBLE API CHANGE: isoburn_prepare_new_image() now gets output drive
This commit is contained in:
@ -356,10 +356,16 @@ int isoburn_prepare_disc(struct burn_drive *d, struct burn_disc **disc,
|
||||
burn_disc_write().
|
||||
@param d The source drive, grabbed with isoburn_drive_scan_and_grab().
|
||||
@param disc Returns the newly created burn_disc object.
|
||||
@param opts Options for image generation and data transport to media
|
||||
@param out_drive The libburn drive which shall be write target.
|
||||
Submit libisoburn drives to later get access to libisofs
|
||||
source fifo via isoburn_get_fifo_status().
|
||||
If that is not desired, then out_drive may be NULL.
|
||||
@return <=0 error , 1 = success
|
||||
*/
|
||||
int isoburn_prepare_new_image(struct burn_drive *d, struct burn_disc **disc,
|
||||
struct isoburn_source_opts *opts);
|
||||
struct isoburn_source_opts *opts,
|
||||
struct burn_drive *out_drive);
|
||||
|
||||
/** Start writing of the new session.
|
||||
This call is asynchrounous. I.e. it returns quite soon and the progress has
|
||||
@ -373,6 +379,9 @@ void isoburn_disc_write(struct burn_write_opts *o, struct burn_disc *disc);
|
||||
/** Inquire state and fill parameters of the fifo which is attached to
|
||||
the emerging track. This should be done in the pacifier loop while
|
||||
isoburn_disc_write() or burn_disc_write() are active.
|
||||
This works only with drives obtained by isoburn_drive_scan_and_grab()
|
||||
or isoburn_drive_grab(). If isoburn_prepare_new_image() was used, then
|
||||
parameter out_drive must have announced the track output drive.
|
||||
Hint: If only burn_write_opts and not burn_drive is known, then the drive
|
||||
can be obtained by burn_write_opts_get_drive().
|
||||
@parm d The drive to which the track with the fifo gets burned.
|
||||
|
Reference in New Issue
Block a user