[Paranoia] cdparanoia, sector offset and last track

Paul C. Bryan email at pbryan.net
Fri Feb 6 10:41:20 PST 2009


So the "end" flag isn't set until the last (corrected) sector has been
read?

-----Original Message-----
From: xiphmont at xiph.org
To: Paul C. Bryan <email at pbryan.net>
Cc: paranoia at xiph.org
Subject: Re: [Paranoia] cdparanoia, sector offset and last track
Date: Fri, 6 Feb 2009 13:23:35 -0500

On Thu, Feb 5, 2009 at 7:50 PM, Paul C. Bryan <email at pbryan.net> wrote:
> Dear fellow users and Monty, o admired king of cdparanoia:
>
> I've dug into the code a bit, and I *think* the way cdparanoia works is
> it will not try to read past what it thinks is the last sector of the
> last track. If you set a positive sector offset, this would mean it pads
> the last track with zeroes. Am I correct?

Actually, passing an offset (with -t or -O) is supposed to be handled
as a case of 'the drive is reporting boundaries incorrectly'.  The
information returned by the TOC query is adjusted by the provided
offset, so reads are done as if the CDROM drive had reported a table
of contents with the adjusted offsets.  The hardware may balk at this,
of course...

Monty



More information about the Paranoia mailing list