Opened 12 years ago

Closed 9 years ago

#3025 closed bug (fixed)

CDDA: Last audio track of Enhanced Disc reported as wrong size

Reported by: RandomInsano Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/cdda Version: R1/pre-alpha1
Keywords: EnhancedCD mixed-mode Cc: EdwinGuy+Haiku@…
Blocked By: #6130 Blocking:
Platform: All


It seems the last track of an *enhanced* audio CD is reported as being the wrong size. It might be possible that the lead-out is either being grabbed or ignored with the final file. That's a guess however. Note that everything works as expected on a standard audio CD.

When the final track is being copied, the operation fails with a 'Device recalibrate error' somewhere within where the Enhanced CD data track should exist. For example, one CD's final track copied 33MB of the final track when its actual size is only 17.4MB and the data track was ~93MB.

I've started looking into this a little bit. Some links for wonderful definitions:

Attachments (2)

CDDA3.PNG (61.3 KB ) - added by RandomInsano 12 years ago.
Output from Exact Audio Copy
CD1.png (69.2 KB ) - added by RandomInsano 12 years ago.
Output from Haiku's Tracker

Download all attachments as: .zip

Change History (11)

by RandomInsano, 12 years ago

Attachment: CDDA3.PNG added

Output from Exact Audio Copy

by RandomInsano, 12 years ago

Attachment: CD1.png added

Output from Haiku's Tracker

comment:1 by RandomInsano, 12 years ago

Update: This isn't a problem with CDDA at all, but in fact a higher system. The CDPlayer also has issues with Enhanced CDs. The final track of one of my test discs is a mere 1:30 but it is being reported as 4:15 and the data track also seems playable until you actually try to do so.

Maybe change the ticket to reflect a problem with the SCSI TOC functions?

comment:2 by RandomInsano, 12 years ago

Cc: EdwinGuy+Haiku@… added

comment:3 by RandomInsano, 12 years ago

Also, it seems BeOS Max 5 also copies far too much of the last track on an enhanced CD, producing all sorts of neat sounds when listening to the WAV :P

comment:4 by RandomInsano, 11 years ago

This should be marked as a duplicate for bug #3473 because I believe it is the underlying problem.

comment:5 by Ziusudra, 10 years ago

Blocked By: 6130 added

comment:6 by Ziusudra, 10 years ago

Keywords: EnhancedCD mixed-mode added

Not actually a duplicate. CDDA and CDPlayer are not aware that there is a 11,400 sector gap between the last audio track and the data session on Enhanced CDs.

I will be looking into fixing this soon.

comment:7 by myob, 10 years ago

This is still apparent but I think there could be an overall problem with multi-session CD support dating back to the multisession mods to the ISO9660 addon that date to the R5 era. I've opened ticket #7020 for that.

comment:8 by axeld, 9 years ago

Fixed in hrev41290.

comment:9 by axeld, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.