Blame example/README

Packit dd8086
This directory contains some simple examples of the use of the libcdio
Packit dd8086
library.
Packit dd8086
Packit dd8086
One might also possibly find useful C code among the regression tests
Packit dd8086
(directory test), e.g. testbincue.c, testdefault.c, testiso9660.c,
Packit dd8086
testparanoia.c, or testtoc.c
Packit dd8086
Packit dd8086
Larger more-complicated examples are the cd-drive, cd-info, cd-read,
Packit dd8086
cdda-player, iso-info and iso-read programs in the src directory. 
Packit dd8086
Packit dd8086
And going further there's the cd-paranoia program (in
Packit dd8086
src/cd-paranoia), and "real-world' code in the xine VCD plugin, or the
Packit dd8086
vlc CD-DA plugin which are part of those distributions.
Packit dd8086
Packit dd8086
In some cases you may have to make small changes to compile these
Packit dd8086
programs. For example, compiling using Solaris's C compiler with
Packit dd8086
largefile support on a 64-bit system, may require changing C headers.
Packit dd8086
Packit dd8086
Descriptions of the programs in this example directory are as
Packit dd8086
follows...
Packit dd8086
Packit dd8086
audio.c:     Sample program to show audio controls.
Packit dd8086
Packit dd8086
cdchange.c:  A program to test if a CD has been changed since the last
Packit dd8086
	     change test.
Packit dd8086
Packit dd8086
cdio-eject.c: a stripped-down "eject" command to open or close a CDROM
Packit dd8086
             tray
Packit dd8086
Packit dd8086
cdtext.c:    A program to show CD-Text and CD disc mode info.
Packit dd8086
Packit dd8086
cdtext-raw.c:    A program to show CD-Text parsing from binary files.
Packit dd8086
Packit dd8086
device.c:    A program to show drivers installed and what the default
Packit dd8086
             CD-ROM drive is. See also corresponding C++ programs of similar
Packit dd8086
             names.
Packit dd8086
Packit dd8086
discid.c:    http://sourceforge.net/projects/discid/ using libcdio:
Packit dd8086
	     a small program to calculate the disc-ID for audio
Packit dd8086
	     compact discs. The disc-ID can be used to query info
Packit dd8086
	     (tracks, title, interpret) about compact audio discs from
Packit dd8086
	     a CDDB-Server.
Packit dd8086
Packit dd8086
drives.c:    A program to show drivers installed and what the default
Packit dd8086
	     CD-ROM drive is and what CD drives are available.
Packit dd8086
Packit dd8086
eject.c:     A program eject a CD from a CD-ROM drive and then close the door
Packit dd8086
	     again.
Packit dd8086
Packit dd8086
extract.c:   Extract the full contents of either an UDF or ISO9660 image file.
Packit dd8086
Packit dd8086
isofile.c:   A program to show using libiso9660 to extract a file from an
Packit dd8086
	     ISO-9660 image.
Packit dd8086
Packit dd8086
isofile2.c:  A program to show using libiso9660 to extract a file
Packit dd8086
	     from a CDRWIN cue/bin CD image.
Packit dd8086
Packit dd8086
isofuzzy.c : A program showing fuzzy ISO-9660 detection/reading.
Packit dd8086
Packit dd8086
isolist.c:   A program to show using libiso9660 to list files in a
Packit dd8086
	     directory of an ISO-9660 image and give basic iso9660 
Packit dd8086
	     information.
Packit dd8086
Packit dd8086
isolsn.c:    A program to show using libiso9660 to get the file 
Packit dd8086
	     path for a given LSN.
Packit dd8086
Packit dd8086
mmc1.c:      A program to show issuing a simple MMC command (INQUIRY).
Packit dd8086
Packit dd8086
mmc2.c:      A more involved MMC command to list features from 
Packit dd8086
	     a MMC GET_CONFIGURATION command.
Packit dd8086
Packit dd8086
mmc2a.c:     Show MODE_SENSE page 2A paramaters:
Packit dd8086
	     CD/DVD Capabilities and Mechanical Status Page
Packit dd8086
Packit dd8086
mmc3.c       Another simple program to show use of SCSI MMC interface. 
Packit dd8086
             Is basically the the libdio scsi_mmc_get_hwinfo() routine.
Packit dd8086
Packit dd8086
paranoia:    A program to show using CD-DA paranoia (a library for jitter
Packit dd8086
	     detection and audio-read error correction). This program uses
Packit dd8086
	     an interface compatible (mostly) with cdparanoia. It looks for
Packit dd8086
	     a CD-ROM with an audio CD in it and rips up to the first 300 
Packit dd8086
             sectors of track 1 to file track01s.wav.
Packit dd8086
Packit dd8086
paranoia2:   Another program to show using CD-DA paranoia using a more
Packit dd8086
	     libcdio-oriented initialization. Probably more suited to
Packit dd8086
	     things that otherwise use libcdio such as media players 
Packit dd8086
	     (e.g. for getting CDDB or CD-Text info)
Packit dd8086
Packit dd8086
sample3.c:   A simple program to show the use of cdio_guess_cd_type().
Packit dd8086
             Figure out the kind of CD image we've got.
Packit dd8086
Packit dd8086
sample4.c:   A slightly improved sample3 program: we handle cdio logging
Packit dd8086
             and take an optional CD-location.
Packit dd8086
Packit dd8086
tracks.c:    A program to list track numbers and logical sector
Packit dd8086
	     numbers of a Compact Disc using libcdio.
Packit dd8086
Packit dd8086
udf1.c:      A program to show using libudf to list files in a directory of
Packit dd8086
	     an UDF image.
Packit dd8086
Packit dd8086
udf2.c:      A program to show using libudf to extract a file from
Packit dd8086
	     an UDF image.
Packit dd8086
Packit dd8086
udffile.c    A program to show using libudf to extract a file.
Packit dd8086
Packit dd8086
Many of the above programs can be compiled in C++. See that directory
Packit dd8086
for C++ examples which include some of the above.
Packit dd8086
Packit dd8086
Some of these programs are also used in testing. When this occurs,
Packit dd8086
output is prepended with -- so it can be filtered out by Ruby program
Packit dd8086
make-check-filter.rb when running "make check-short".