Tree [9cd49d] / example /
 History

HTTPS access


File Date Author Commit
 C++ 2006-04-15 rocky rocky [f4438d] .
 .cvsignore 2006-04-15 rocky rocky [b11191] iso1->isolist iso2->isofile2 iso3->isofile
 Makefile.am 2006-04-17 rocky rocky [dfe7ad] udf2.c becomes the more general udffile.c
 README 2006-04-15 rocky rocky [f4438d] .
 audio.c 2006-02-27 flameeyes flameeyes [265837] Fix keywords ordering.
 cdchange.c 2006-01-24 rocky rocky [9d6c4e] Allow parameter to specify seconds to wait.
 cdtext.c 2006-03-18 rocky rocky [bcd670] More strcat, sprintf, and strcpy replacements.
 device.c 2005-11-11 rocky rocky [91147f] include/cdio++ Add pre- and post- increment/dec...
 drives.c 2006-03-28 rocky rocky [dbc63b] Yet another attempt to get "get_drives_with_cap...
 eject.c 2006-01-14 rocky rocky [081436] Forgot to change (C) on that last change.
 isofile.c 2006-04-15 rocky rocky [c3e6be] iso1.c->isolist.c iso2.c -> isofile2.c iso3.c -...
 isofile2.c 2006-04-15 rocky rocky [c3e6be] iso1.c->isolist.c iso2.c -> isofile2.c iso3.c -...
 isofuzzy.c 2005-11-07 rocky rocky [6f81e9] Add interface to eject CD-ROM by device name.
 isolist.c 2006-04-15 rocky rocky [c3e6be] iso1.c->isolist.c iso2.c -> isofile2.c iso3.c -...
 mmc1.c 2005-11-14 rocky rocky [baf251] Add C++ wrapper routines for MMC commands insid...
 mmc2.c 2005-11-14 rocky rocky [baf251] Add C++ wrapper routines for MMC commands insid...
 mmc2a.c 2006-04-12 rocky rocky [12ac7c] configure.ac: in 0.78cvs now
 paranoia.c 2006-03-18 rocky rocky [bcd670] More strcat, sprintf, and strcpy replacements.
 paranoia2.c 2006-03-18 rocky rocky [bcd670] More strcat, sprintf, and strcpy replacements.
 sample3.c 2005-01-04 rocky rocky [1df3d7] Revise for current conventions.
 sample4.c 2005-01-04 rocky rocky [1df3d7] Revise for current conventions.
 tracks.c 2006-07-30 rocky rocky [6a7e4c] gnu_linux: get_disc_last_lsn: cdte_format seems...
 udf1.c 2005-11-02 rocky rocky [788838] Add routine to get file length.
 udf2.c 2006-04-11 rocky rocky [f66b71] udf_fs.c: was freeing freed memory when searchi...
 udffile.c 2006-04-17 rocky rocky [4d2b51] Add UDF 1.02 image and use that in the default ...

Read Me

$Id: README,v 1.26 2006/04/15 16:22:49 rocky Exp $

This directory contains some simple examples of the use of the libcdio
library.

One might also possibly find useful C code among the regression tests
(directory test), e.g. testbincue.c, testdefault.c, testiso9660.c, 
testparanoia.c, or testtoc.c 

Larger more-complicated examples are the cd-drive, cd-info, cd-read,
cdda-player, iso-info and iso-read programs in the src directory. 

And going further there's the cd-paranoia program (in
src/cd-paranoia), and "real-world' code in the xine VCD plugin, or the
vlc CD-DA plugin which are part of those distributions.

Descriptions of the programs in this example directory are as follows...

audio.c:     Sample program to show audio controls.

cdchange.c:  A program to test if a CD has been changed since the last
	     change test.

cdtext.c:    A program to show CD-Text and CD disc mode info.

drives.c:    A program to show drivers installed and what the default
	     CD-ROM drive is and what CD drives are available.

eject.c:     A program eject a CD from a CD-ROM drive and then close the door
	     again.

isofile.c:   A program to show using libiso9660 to extract a file from an
	     ISO-9660 image.

isofile2.c:  A program to show using libiso9660 to extract a file
	     from a CDRWIN cue/bin CD image.

isofuzzy.c : A program showing fuzzy ISO-9660 detection/reading.

isolist.c:   A program to show using libiso9660 to list files in a
	     directory of an ISO-9660 image and give basic iso9660 
	     information.

mmc1.c:      A program to show issuing a simple MMC command (INQUIRY).

mmc2.c:      A more involved MMC command to list features from 
	     a MMC GET_CONFIGURATION command.

mmc2a.c:     Show MODE_SENSE page 2A paramaters:
	     CD/DVD Capabilities and Mechanical Status Page

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.

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)

sample2.c:   A simple program to show drivers installed and what the
	     default CD-ROM drive is.

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.

tracks.c:    A program to list track numbers and logical sector
	     numbers of a Compact Disc using libcdio.

udf1.c:      A program to show using libudf to list files in a directory of
	     an UDF image.

udf2.c:      A program to show using libudf to extract a file from
	     an UDF image.

Many of the above programs can be compiled in C++. See that directory
for C++ examples which include some of the above.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks