New API calls isoburn_igopt_set_write_type() , isoburn_igopt_get_write_type()
This commit is contained in:
@ -1834,6 +1834,31 @@ int isoburn_igopt_get_hfsp_block_size(struct isoburn_imgen_opts *opts,
|
||||
int *hfsp_block_size, int *apm_block_size);
|
||||
|
||||
|
||||
/** Set or inquire the write type for the next write run on optical media.
|
||||
@since 1.2.4
|
||||
@param opts
|
||||
The option set to be manipulated or inquired.
|
||||
@param do_tao
|
||||
The value to be set or the variable where to return the current
|
||||
setting:
|
||||
0 = Let libburn choose according to other write parameters.
|
||||
This is advisable unless there are particular reasons not to
|
||||
use one of the two write types. Be aware that 1 and -1 can
|
||||
lead to failure if the write type is not appropriate for
|
||||
the given media situation.
|
||||
1 = Use BURN_WRITE_TAO which does
|
||||
TAO on CD, Incremental on DVD-R,
|
||||
no track reservation on DVD+R and BD-R
|
||||
-1 = Use BURN_WRITE_SAO which does
|
||||
SAO on CD, DAO on DVD-R,
|
||||
track reservation on DVD+R and BD-R
|
||||
@return
|
||||
<=0 = error, 1 = success
|
||||
*/
|
||||
int isoburn_igopt_set_write_type(struct isoburn_imgen_opts *opts, int do_tao);
|
||||
int isoburn_igopt_get_write_type(struct isoburn_imgen_opts *opts, int *do_tao);
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* End of Options for image generation */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user