Mac OS X Reference Library Apple Developer
Search

AudioCDSample

Last Revision:
Version 1.4, 2005-10-04
Updated to produce a universal binary. No code changes were required. Use FSEjectVolumeSync instead of deprecated function PBUnmountVol.
Build Requirements:
Project Builder 2.1 or Xcode 2.1
Runtime Requirements:
Mac OS X 10.2 or later

This command-line tool demonstrates how to discover audio CDs and access the table of contents (TOC) information presented by the CD-DA filesystem. Techniques shown are: finding audio CD volumes, opening and reading the TOC file on the disc, and parsing and printing the TOC information. This sample code has been updated to include a project that produces a universal binary. No code changes were required for it to run correctly on the Developer Transition Systems.




Last updated: 2005-10-04

Did this document help you? Yes It's good, but... Not helpful...