New API call burn_disc_track_lba_nwa_v2()

This commit is contained in:
2024-03-02 14:12:22 +01:00
parent d48bbb4b66
commit 29bfd7e5e7
5 changed files with 43 additions and 8 deletions

View File

@ -763,7 +763,7 @@ struct burn_progress_v2 {
off_t buffered_bytes;
/** The minimum number of bytes stored in buffer during write.
(Caution: Before surely one buffer size of bytes was processed,
this value is 0xffffffffffffffff.)
this value is 0x7fffffffffffffff.)
*/
off_t buffer_min_fill;
};
@ -1542,6 +1542,13 @@ int burn_disc_get_phys_format_info(struct burn_drive *d, int *disk_category,
int burn_disc_track_lba_nwa(struct burn_drive *d, struct burn_write_opts *o,
int trackno, int *lba, int *nwa);
/* ts C40302 */
/** Like burn_disc_track_lba_nwa(), but with off_t results.
@since 1.5.8
*/
int burn_disc_track_lba_nwa_v2(struct burn_drive *d, struct burn_write_opts *o,
int trackno, off_t *lba, off_t *nwa);
/* ts B10525 */
/** Tells whether a previous attempt to determine the Next Writeable Address
of the upcoming track reveiled that the READ TRACK INFORMATION Damage Bit