#1 Burning Software

It is currently Thu Dec 19, 2024 7:45 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Dll FULL_TOC_ENTRY_RAW query
PostPosted: Fri Dec 15, 2006 2:12 pm 
Offline

Joined: Thu Dec 07, 2006 3:55 pm
Posts: 3
In using the StarBurn dll to get ID and TOC from a CD, I was working from someone else's code and they had used the TOC_INFORMATION structure's FULL_TOC_ENTRY_RAW PMIN, PSEC, PFRAME values. I followed suit and couldn't get it to work as I always calculated really strange values.
Eventually I swapped and started using the TOC_ENTRY startingMSF array instead (using array members 0=min, 1=sec, 2=frames). This worked much better. Comparing the two, it seemed to me that the TOC_ENTRY MSF didn't map to the FULL_TOC_ENTRY_RAW's PMIN, PSEC, PFRAME as I would have expected. Using the TOC_ENTRY seems to be fine and give the results I need, but I just wondered had anyone else come across this or could they explain to me the correspondence between the two structures?

Thanks.


Top
 Profile  
 
 Post subject: Re: Dll FULL_TOC_ENTRY_RAW query
PostPosted: Fri Dec 15, 2006 8:42 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Can you provide a sample run log for what you say?

osbick wrote:
In using the StarBurn dll to get ID and TOC from a CD, I was working from someone else's code and they had used the TOC_INFORMATION structure's FULL_TOC_ENTRY_RAW PMIN, PSEC, PFRAME values. I followed suit and couldn't get it to work as I always calculated really strange values.
Eventually I swapped and started using the TOC_ENTRY startingMSF array instead (using array members 0=min, 1=sec, 2=frames). This worked much better. Comparing the two, it seemed to me that the TOC_ENTRY MSF didn't map to the FULL_TOC_ENTRY_RAW's PMIN, PSEC, PFRAME as I would have expected. Using the TOC_ENTRY seems to be fine and give the results I need, but I just wondered had anyone else come across this or could they explain to me the correspondence between the two structures?

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group