[Libburn] Writing progress issues

Derek Foreman manmower@signalmarketing.com
Mon, 8 Dec 2003 13:50:18 -0600 (CST)


On Mon, 8 Dec 2003, Tiago Cogumbreiro wrote:

> Hi again guys,
> I am trying to develop the writing progress part.
> I am very confused about how to display the lead-in/out progress, could
> you please point me out how to work with:
> Disc Lead-In
> Disc Lead-Out
> Session Lead-In
> Session Lead-Out
> I need to know how to process start_sector and end_sector.
>
> Now i am simply going to ignore the lead-* and show progress related to
> track writing.

In raw writing, we write the leadin just like any other track, so..

the disc leadin starts at "d->start_lba", which will be a negative
number and vary from disc to disc.  that leadin runs until lba reaches
-150

every other leadin is 4500 sectors long.

the first leadout on the disc is 6750 sectors long, every other leadout is
2250.

I have no idea whether we can get any status reporting at all while a
drive is writing a lead in SAO or TAO.  (AFAICT, in SAO, we can write our
own leadin, but not lead-out.)