Reading CD under MacOS 9 (and X...)
Reading CD under MacOS 9 (and X...)
- Subject: Reading CD under MacOS 9 (and X...)
- From: Tristan Leblanc <email@hidden>
- Date: Wed, 19 Jun 2002 11:03:14 +0200
Hi there,
I need to make a Carbon application that access to Audio CD tracks.
How can I read the CD data?
If track files appears like AIFC files under MacOS X (TOC appears like a
file too - ".TOC.plist"), they are empty on MacOS 9, and no TOC... So I
think that I can't use the PBReadForkAsync command...
An idea was to use SCSI or ATA commands to read CD sectors directly...
(Original message below..)
But I can't see carbonized ATA Commands.
Any idea?
Regards,
Tristan
--
----------------------------------------------------------------------
Here is the message from Brian Willoughby
>
Re: Advanced Audio CD Functionality under carbon / OSX
>
>
>
You might have better luck accessing the CD drive using the SCSI commands for
>
CD-DA media. They offer the ability to seek my HMSF instead of by SCSI block.
>
There are also Mode Select commands for CD which allow access to the full Red
>
Book frames, including the subcodes you need (although you might have to weave
>
the bits together yourself). Mac OS X does have a SCSI Client library for
>
sending any possible SCSI command to a target device.
>
>
There are a couple of problems with this:
>
1) not all CD drives are SCSI, but I assume the ATAPI spec has something along
>
the lines of the capabilities of SCSI CD drives.
>
>
....
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.