Re: What's happened to CDIOCREADAUDIO & friends?

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Wed, 24 Sep 2003 17:38:49 +1000
On Tue, Sep 23, 2003 at 09:54:06PM -0400, Michael W. Oliver wrote:
Content-Description: signed data
>Well, I didn't know somebody was patching it, so I started using the 
>following in ripit.pl (not exactly as below) instead of 'dagrab':
>
>dd if=/dev/acd0t01 ibs=2352 obs=2048 | sox -t raw -r 44100 \
>-s -c 2 -w - -t wav -r 44100 -s -c 2 -w track01.wav
>
>Funny thing is, it is a hell of a lot faster than dagrab was.  Before, 
>dagrab would read the data in at about the same rate as flac would encode 
>it, but now I can rip a 12 track disc in the time it takes flac to encode 
>the first 6 tracks.  Go figure...

dagrab reads each block of data multiple times until it gets identical
results.  The code mentions "jitter correction" but doesn't include
any detailed explanation.  For a more equitable comparison, I suggest
you hack dagrab.c:cd_read_audio() to use read() ISO ioctl().

Peter
Received on Tue Sep 23 2003 - 22:38:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC