Introduced size parameter to DVD-RW formatting plus writing of zeros.

This commit is contained in:
2007-01-08 10:42:54 +00:00
parent 6a69cfcf07
commit fdd40d4492
5 changed files with 89 additions and 11 deletions

View File

@ -847,8 +847,12 @@ void burn_disc_erase(struct burn_drive *drive, int fast);
in state "Sequential Recording" (profile 0014h) which get formatted to
state "Restricted Overwrite" (profile 0013h).
@param drive The drive with the disc to format.
@param size Unused yet. Submit: (off_t) 0.
@param flag Unused yet. Submit: 0.
@param size The size in bytes to be used with the format command. It should
be divisible by 32*1024. The effect of this parameter may
depend on the media profile.
@param flag Bitfield for control purposes:
bit0= after formatting, write the given number of zero-bytes
to the media and eventually perform preliminary closing.
*/
void burn_disc_format(struct burn_drive *drive, off_t size, int flag);