#1 Burning Software

It is currently Wed Dec 18, 2024 10:24 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Tracknumber...
PostPosted: Tue Jul 27, 2004 3:59 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany
hey all.

when I get the TOC_Info_struct for an audio disc, I get an array of TOC_Entries (from 0 to #tracks in the "right" order). a TOC_Entry also has a "TrackNumber"...can this tracknumber vary from the TOC_Entry's index???? In other words: is it OK to handle the tracks in order of the array or do I have to reorder them by the tracknumber-member of the structure???

best wishes
Spin


Top
 Profile  
 
 Post subject: Re: Tracknumber...
PostPosted: Wed Jul 28, 2004 8:07 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I think the tracks are ordered... Can you provide me with the dump (or at least with traced debug output) of the TOC structure where tracks are not sorted? Thanks!

SpinDoctor wrote:
hey all.

when I get the TOC_Info_struct for an audio disc, I get an array of TOC_Entries (from 0 to #tracks in the "right" order). a TOC_Entry also has a "TrackNumber"...can this tracknumber vary from the TOC_Entry's index???? In other words: is it OK to handle the tracks in order of the array or do I have to reorder them by the tracknumber-member of the structure???

best wishes
Spin


Top
 Profile  
 
 Post subject: Re: Tracknumber...
PostPosted: Wed Jul 28, 2004 12:47 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany
anton (staff) wrote:
I think the tracks are ordered... Can you provide me with the dump (or at least with traced debug output) of the TOC structure where tracks are not sorted? Thanks!


I have no!

I was just wondering, if this can happen under some circumstances. So I'll rely on the indexing order and treat the TrackNumber-member as a redundancy. :D

Thanks
Spin


Top
 Profile  
 
 Post subject: Re: Tracknumber...
PostPosted: Wed Jul 28, 2004 1:11 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
The tracks would be always ordered. They can start from non-one value (like 3,4,5) -- some sophicticated AudioCDs (there are samples in the specs) but you can always rely on the fact they (tracks) would be numbered and ordered appropriately.

SpinDoctor wrote:
anton (staff) wrote:
I think the tracks are ordered... Can you provide me with the dump (or at least with traced debug output) of the TOC structure where tracks are not sorted? Thanks!


I have no!

I was just wondering, if this can happen under some circumstances. So I'll rely on the indexing order and treat the TrackNumber-member as a redundancy. :D

Thanks
Spin


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group