libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libcdio-devel] speaking of pre-gap detection....


From: R. Bernstein
Subject: [Libcdio-devel] speaking of pre-gap detection....
Date: Tue, 4 Mar 2008 05:54:27 -0500

Robert William Fuller writes:
 > It would seem that NRG files for audio discs have a pre-gap field for 
 > each track in the DAOX structure as "documented" at 
 > http://en.wikipedia.org/wiki/NRG_(file_format).  

Neat. (This didn't exist when that image file driver first came out.)
It describes for example what the format is for CD-Text information
which is missing from the NRG driver.

 > I checked it out, and 
 > this does in fact seem to be the case, although the byte order is 
 > reversed (I most likely need to use some macro like UINT64_FROM_BE.)  I 
 > modified nrg.c to dump the pre-gap, start of track, and end of track 
 > from the DAOX structure.  (I used cdio_warn.)
 > 
 > So, we're back to the age old question of how to export this 
 > information.  What is your opinion of the following for an API?
 > 
 > lsn_t cdio_get_track_pregap_lsn(const CdIo_t *p_cdio, track_t i_track);
 > 
 > I would have it return CDIO_INVALID_LSN if the data isn't available.
 > 
 > Thoughts, questions, concerns?

I'm cool with this. What do others think?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]