2006-01-24 02:25:07 +00:00
|
|
|
$Id: README,v 1.20 2006/01/24 02:25:07 rocky Exp $
|
2003-08-02 03:43:19 +00:00
|
|
|
|
|
|
|
|
This directory contains some simple examples of the use of the libcdio
|
|
|
|
|
library.
|
|
|
|
|
|
2005-01-22 18:49:21 +00:00
|
|
|
One might also possibly find useful C code among the regression tests
|
2005-11-07 07:49:34 +00:00
|
|
|
(directory test), e.g. testbincue.c, testdefault.c, testiso9660.c,
|
|
|
|
|
testparanoia.c, or testtoc.c
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2005-01-22 18:49:21 +00:00
|
|
|
Larger more-complicated examples are the cd-drive, cd-info, cd-read,
|
2005-11-07 07:49:34 +00:00
|
|
|
cdda-player, iso-info and iso-read programs in the src directory.
|
2005-01-22 18:49:21 +00:00
|
|
|
|
|
|
|
|
And going further there's the cd-paranoia program (in
|
2005-11-07 07:49:34 +00:00
|
|
|
src/cd-paranoia), and "real-world' code in the xine VCD plugin, or the
|
|
|
|
|
vlc CD-DA plugin which are part of those distributions.
|
2005-01-22 18:49:21 +00:00
|
|
|
|
|
|
|
|
Descriptions of the programs in this example directory are as follows...
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
audio.c: Sample program to show audio controls.
|
2005-03-15 04:18:29 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
cdchange.c: A program to show CD-Text and CD disc mode info.
|
2004-10-10 00:21:08 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
cdtext.c: A program to show CD-Text and CD disc mode info.
|
2004-10-10 00:21:08 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
drives.c: A program to show drivers installed and what the default
|
|
|
|
|
CD-ROM drive is and what CD drives are available.
|
2005-11-07 07:45:20 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
eject.c: A program eject a CD from a CD-ROM drive and then close the door
|
|
|
|
|
again.
|
2004-10-10 00:21:08 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
iso1.c: A program to show using libiso9660 to list files in a
|
|
|
|
|
directory of an ISO-9660 image.
|
2005-01-22 18:43:13 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
iso2.c: A program to show using libiso9660 to extract a file
|
|
|
|
|
from a CDRWIN cue/bin CD image.
|
2004-10-10 00:21:08 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
iso3.c: A program to show using libiso9660 to extract a file from an
|
|
|
|
|
ISO-9660 image.
|
2005-02-06 15:09:10 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
isofuzzy.c : A program showing fuzzy ISO-9660 detection/reading.
|
2005-02-04 23:14:54 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
mmc1.c: A program to show issuing a simple MMC command (INQUIRY).
|
2005-02-04 23:14:54 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
mmc2.c: A more involved MMC command to list features from
|
|
|
|
|
a MMC GET_CONFIGURATION command.
|
2005-01-22 18:43:13 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
paranoia: A program to show using CD-DA paranoia (a library for jitter
|
|
|
|
|
detection and audio-read error correction). This program uses
|
|
|
|
|
an interface compatible (mostly) with cdparanoia.
|
2005-01-22 18:43:13 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
paranoia2: Another program to show using CD-DA paranoia using a more
|
|
|
|
|
libcdio-oriented initialization. Probably more suited to
|
|
|
|
|
things that otherwise use libcdio such as media players
|
|
|
|
|
(e.g. for getting CDDB or CD-Text info)
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
sample2.c: A simple program to show drivers installed and what the
|
|
|
|
|
default CD-ROM drive is.
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2006-01-24 02:25:07 +00:00
|
|
|
sample3.c: A simple program to show the use of cdio_guess_cd_type().
|
|
|
|
|
Figure out the kind of CD image we've got.
|
|
|
|
|
|
|
|
|
|
sample4.c: A slightly improved sample3 program: we handle cdio logging
|
|
|
|
|
and take an optional CD-location.
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2005-02-04 23:14:54 +00:00
|
|
|
tracks.c: A program to list track numbers and logical sector
|
|
|
|
|
numbers of a Compact Disc using libcdio.
|
2003-12-24 11:05:48 +00:00
|
|
|
|
2005-02-20 03:13:31 +00:00
|
|
|
Many of the above programs can be compiled in C++. See that directory
|
|
|
|
|
for C++ examples which include some of the above.
|