• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Reading CD under MacOS 9 (and X...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Reading CD under MacOS 9 (and X...)
      • From: Jeff Moore <email@hidden>
  • Prev by Date: How to make an NSSound from array of floats
  • Next by Date: Re: Reading CD under MacOS 9 (and X...)
  • Previous by thread: How to make an NSSound from array of floats
  • Next by thread: Re: Reading CD under MacOS 9 (and X...)
  • Index(es):
    • Date
    • Thread