Transmitting CATALOG by mode page 5. ISRC too, if TAO.

This commit is contained in:
2011-12-28 10:41:05 +00:00
parent cdaa2971db
commit 47e5ce5da2
10 changed files with 72 additions and 27 deletions

View File

@ -340,7 +340,7 @@ int burn_drive_send_default_page_05(struct burn_drive *d, int flag)
else
burn_write_opts_set_write_type(opts,
BURN_WRITE_SAO, BURN_BLOCK_SAO);
d->send_write_parameters(d, opts);
d->send_write_parameters(d, NULL, 0, opts);
burn_write_opts_free(opts);
d->sent_default_page_05 = 1;
return 1;
@ -2469,7 +2469,7 @@ int burn_disc_track_lba_nwa(struct burn_drive *d, struct burn_write_opts *o,
if (d->drive_role != 1)
return 0;
if (o != NULL)
d->send_write_parameters(d, o);
d->send_write_parameters(d, NULL, 0, o);
ret = d->get_nwa(d, trackno, lba, nwa);
return ret;
}
@ -2522,7 +2522,7 @@ off_t burn_disc_available_space(struct burn_drive *d,
(off_t) (512 * 1024 * 1024 - 1) * (off_t) 2048);
} else {
if (o != NULL)
d->send_write_parameters(d, o);
d->send_write_parameters(d, NULL, 0, o);
d->get_nwa(d, -1, &lba, &nwa);
}
if (o != NULL) {