opensubscriber
   Find in this group all groups
 
Unknown more information…

d : discrecording@lists.apple.com 16 November 2005 • 4:30AM -0500

Re: erase before burn
by Ed Wynne

REPLY TO AUTHOR
 
REPLY TO GROUP





On Nov 15, 2005, at 2:19 PM, Benjámin Salánki wrote:

> I have a method that checks if there is available free space on a  
> disc to fit my data on it.
>
> But if a rewritable disc is inserted into the drive and i choose  
> erase before burn my app still calculates the free space that is  
> available on the yet unerased disc.
>
> My question is if i can somehow query if the erase before burn  
> option was selected in the DRBurnSetupPanel, as I have my method  
> check for the size right after the setup panel ended.
>
> Or should I check at some other point before the burning starts?

You should check the (k)DRDeviceMediaBlocksOverwritable instead of  
the free space. For rewritable media, overwritable will be the value  
of free space** after the disc has been erased.

-Ed

** Due to uncontrollable drive lameness, it may be off by +/- a few  
blocks. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Discrecording mailing list      (Discrecording@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/discrecording/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.