Menu

#35 Error : 0x0004 when last track is data

open
nobody
None
5
2003-01-29
2003-01-29
Moritz Both
No

First of all, thanks for providing cd-da x-tractor to the word, it's a great
peace of software, lightweight and very useful.

I *think* this
is a bug because at some other spot i read that cd x-tractor tries to
handle audio tracks which are followed by data specially.

I
am getting an error 0x0004 regulary when I try to rip the last audio
track of a cd which has a data track after the audio.

The error
appears when the whole audio track is read and the read buffer is
rather full. Unfortunately, the error causes the encoding to abort in
the middle although the buffer is still filled. The result is a encoded
file with this first half or so of audio.

cd-da v0.23
Windows
NT 4 SP 6.
CDROM LG CDR-8521B v1.00
Read algorithm
Automatic
Trying to create mp3 using lame encoder DLL 1.27
(engine v 3.92)
Jitter enabled, "on error", the rest are standard
values

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I'm getting this too. I haven't yet had an "Enhanced CD"
    where I could rip the last track.

    CD-DA X-Tractor v0.23
    Windows 2000
    Samsung 52x CD Drive
    Ogg Vorbis Encoder, 128 VBR
    same options as above otherwise

    Looking forward to a fix. Otherwise, brilliant program that
    does everything I need and nothing much extra. Much thanks
    to everyone involved.

    Mike VandeVelde
    mikev@uniserve.com

     
  • Kelly Leahy

    Kelly Leahy - 2003-02-26

    Logged In: YES
    user_id=250133

    Looks like this is a problem with jitter correction code (at
    least on my machine it looks that way)

    If I set jitter correction to "NONE" it works.

    Hope this helps track down the problem.

     
  • Kelly Leahy

    Kelly Leahy - 2003-02-26

    Logged In: YES
    user_id=250133

    Some more information from running the debug compile...

    ReadCDAudioLBAEx(): start=191049, num=26, over
    start=191048, over num=1
    akrip32: testUnitReady_ATAPI returning 1
    akrip32: readCDAudioLBA_ATAPI: (1:0:0) 02EA49:1A
    akrip32: readCDAudioLBA_ATAPI: ERROR! 0x00000004
    akrip32: haStat == 0 (0x0000), tgtStat == 2 (0x0002)
    akrip32: sense data: 70 00 05 00 00 00 00 06 00 00 00 00
    21 00 00 00
    akrip32: ReadCDAudioLBAEx: read failed
    akrip32: readCDAudioLBAEx: returning 0004

    Hope this helps...

    Kelly

     
  • Kelly Leahy

    Kelly Leahy - 2003-02-26

    Logged In: YES
    user_id=250133

    The problem is in the JITTER ON ERROR part of RipThread.

    If you add the lines

    if(tbuf->numFrames > num2rip)
    tbuf->numFrames = num2rip;

    in the switch statement case CDRM_JITTERONERR:

    between the #endif and the dwStatus = ReadCDAudioLBA
    (...) lines (anywhere will do) then the problem goes away.

    Kelly

     
  • Nobody/Anonymous

    Logged In: NO

    I have this same issue with any data mixed mode CD where
    the data comes after the last track:

    liteon 52x cdrom
    liteon 16x DVD

     

Log in to post a comment.

MongoDB Logo MongoDB