What's happened to CDIOCREADAUDIO & friends?
    Peter Jeremy 
    peterjeremy at optushome.com.au
       
    Wed Sep 24 00:38:56 PDT 2003
    
    
  
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
    
    
More information about the freebsd-current
mailing list