Commit Graph

79 Commits

Author SHA1 Message Date
rocky
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
8ad5e4cbb0 Doxygen changes. 2005-01-29 20:54:20 +00:00
rocky
19856a30da Change read routines so the use the driver_return_code_t enumeration.
It's a little cleaner and may make things clearer in debugging.
2005-01-23 19:16:58 +00:00
rocky
7796f6cce7 Try to regularize driver operation return codes via a new enumeation
return type. (I may regret this later as we return ioctl's int value
in some cases).

cdio.h: get/set_arg moved to device.
2005-01-19 09:23:24 +00:00
rocky
6f7e9e182b cdio.{c,h}: moved various reading and device/driver routines out into the below
read.{c,h}: separate include for the reading routines.
disc.{c,h}: more moved here from corresponding cdio.
device.c: a place for device/driver related routines.
interface.c: break up line to make debugging easier.
2005-01-09 16:07:46 +00:00
rocky
7a2a44a814 The first all libcdio cdda_interface. There are some gaps could be
filled.

cdda_inteface.h renamed to cdda.h

cdio_destroy moved from cdio.h to device.h
2005-01-05 04:16:11 +00:00
rocky
2c20dfb2ef Add device for drive(r)/device things. Reorganize more to pull things
out of cdio and into their respective units.
2005-01-04 10:58:03 +00:00
rocky
f226947ec6 Break out track and disc routines. (Disc needs more work)
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
2005-01-04 04:33:36 +00:00
rocky
0538377177 Add Cdio_t, move some more stuff into track.h 2005-01-02 22:43:41 +00:00
rocky
74045586bd Start to fill in cdio_get_preemphasis, cdio_get_copy_permit, and
cdio_get_channels. Internals reworked a little for this.
2004-12-31 05:47:36 +00:00
rocky
c51a6ba67e Add cd-paranoia's track flag routines: copy-permitted, pre-emphasis, channels.
Updates to drivers to set this properly is still needed.
2004-12-30 11:13:49 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00
rocky
5cfd029197 Towards getting an AIX driver working. 2004-12-15 01:45:15 +00:00
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +00:00
rocky
d9c63df6ce Changes to make doxygen doc better. 2004-09-04 23:49:47 +00:00
rocky
19991ded7b add psz_ to hwinfo type.
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +00:00
rocky
945338288f Add constant variable to indicate which OS driver we've got in build. 2004-08-27 11:23:40 +00:00
rocky
7454e4375e Add a couple of routines to pass back the driver used in getting a
drive.  Speeds up a little the task of opening the drive. Is now used
in cd-drive and cd-info.
2004-08-27 04:17:08 +00:00
rocky
758f954e1f Expose hwinfo call as a cdio command. It was SCSI-MMC. This may help
on OSX.
2004-08-27 02:50:13 +00:00
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +00:00
rocky
02872bfb2f Add get_discmode to return what kind of CD or DVD we've got. This is
no where near finished. In fact I just started it on GNU/Linux.

CD-TEXT on GNU/Linux: turn "warning" into "info". Reduce the chance of
error (although we still don't get the CD-TEXT.)
2004-07-21 10:19:20 +00:00
rocky
e84c6316b0 Expand getting drive capabilities. We now have 3 masks where we had
only one before.
2004-07-17 22:16:46 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
0d3c10c775 Redo CD-TEXT handling. First minimally working version for CD bin/cue
and cdrdao images.
2004-07-11 14:25:07 +00:00
rocky
b692bdc694 API version change. If it's not already it will be with planned
CDTEXT changes, capability return changes  and get_default drive
returning the driver used.
2004-07-09 10:05:36 +00:00
rocky
79ea450a56 Add type for holding MCN and ISRC. Add type for session
Replace magic constant 100 with CDIO_MAX_TRACK+1 where appropriate.

_cdio_osx: save session number and presumably some tighter coding.
nrg.c: make sure we add zero byte to end of MCN.
2004-06-27 15:29:20 +00:00
rocky
e002a930bc Note that getting default drive and listing all drives may change
depending on OS/driver and whether media is installed.
2004-06-19 10:39:30 +00:00
rocky
880ed2da3a Ooops spelling typo. 2004-06-06 11:47:39 +00:00
rocky
2a5414821a Doc fixes and some paramater name renamings. 2004-06-06 11:45:37 +00:00
rocky
b4090f3ca5 Add cdio_open_am_cd.
Use network order for FreeBSD lsn/lba's and other small FreeBSD patches.
Thanks again to Heiner.
2004-05-19 03:00:03 +00:00
rocky
cb9db0a7d5 Allow more freedom in specifying access mode.
Image drivers now have an "image" access mode.
2004-05-13 01:50:10 +00:00
rocky
1526f100f2 cdio.h: update doxygen documentation
sector.c: remove erroneous fix.
2004-05-11 12:17:17 +00:00
rocky
5eac8539c9 Small typo. 2004-05-09 22:10:23 +00:00
rocky
adc9aa09e7 Add cdio_is_nrg to check if name is Nero NRG image. 2004-05-09 16:54:12 +00:00
rocky
f04f14c312 Add some cdrdao image reading support from Svend S. Sorensen's
cuetools

cdio.c: remove some complicated and extraneous code for auto-driver
detection.
2004-05-04 02:06:48 +00:00
rocky
7f8cefed11 Add cdio_open_am to allow specifying an access method use for
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
34cc0fb16f Missing a couple of const's in get_mcn when prototype changed.
cdio.h: doc fix.
2004-04-25 16:38:06 +00:00
rocky
52e0a80503 lib/*c, include/cdio/*.h: Add more drive capability info
util.{c,h}: common routine for printing capbilities
cd-info.c: use above.
*.right: update for capability display of above

cd-drive.c: new program to show drive capabilities
2004-04-25 00:46:34 +00:00
rocky
53bb5de3d6 More drive capability fixups. (Not sure about win32 fixes yet though.) 2004-04-24 11:48:37 +00:00
rocky
c347347bd9 Composite definitions for reader or writer. (More work needed.) 2004-04-24 04:49:26 +00:00
rocky
b05dc3aab0 cdio.{c,h}: get_drive_cap -> get_drive_cap_dev and add get_drive_cap.
cd-info.c, sample2.c: use it.
2004-04-23 22:10:52 +00:00
rocky
12762d2d7c *.{c,h}: add cdio_get_drive_cap to determine what kind of CDROM device
we've got.

README.libcdio: suggest stonger making a separate package for cd-info
configure.ac: we are in 0.69cvs now
2004-04-22 03:24:38 +00:00
rocky
fb040eada5 Remove more memory leaks caught by valgrind. 2004-03-20 22:46:56 +00:00
rocky
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +00:00
rocky
d40e8bf453 spelling. 2004-02-21 13:10:51 +00:00
rocky
24b74eb08b Related to doxygen documentation. 2003-11-17 12:06:56 +00:00
rocky
5b27971ac3 update/add More doxygen tagging 2003-11-05 12:40:34 +00:00
rocky
05beaf71de doxygen changes. 2003-11-04 12:28:08 +00:00
rocky
998b4bb30f Add OSX device scanning. 2003-10-04 23:11:50 +00:00
rocky
980822f07f FreeBSD fixes mostlyh. 2003-10-03 07:54:58 +00:00