Commit Graph

66 Commits

Author SHA1 Message Date
rocky
20e8974df8 Big change!
We now are starting to have universal MMC routines. To do this we need
to have function pointers to the OS-specific MMC send/run command.

Expect some breakage. Down the line though this will increase code reuse,
reliabilty, and make the library more user-customizable.
2004-07-26 02:54:37 +00:00
rocky
4a7b48d568 Turn an assertion into a return failure. 2004-07-21 11:28:32 +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
50d780d342 gcc 2.95 vs 3.0 fix. Thanks yet again to Steven Schultz. 2004-07-18 05:12:03 +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
14646f641f MSWindows: comment corrections
_cdio_linux.c: perhaps closer to getting CD TEXT correct.
2004-07-15 02:24:29 +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
ed6f60868d Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
65fd7d3b43 Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00
rocky
e1808fb407 Lint-like things.
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
8eaf26a91d Bug: wasn't adding drives with detected capability, but the first
drive on the list of drives. Don't know how this went undetected this long.
2004-06-07 00:24:45 +00:00
rocky
1e67fc17e0 Correct mismatched prototypes. 2004-05-27 01:06:34 +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
5328594c59 Check for invalid LSNs. Turn some asserts into just returning failed status. 2004-05-09 22:12:49 +00:00
rocky
e0139050ff Be more optimistic about CD drive capabilities. 2004-05-08 14:06:11 +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
20974d4568 CDIO_DRIVE -> CDIO_DRIVE_CAP 2004-04-25 14:07:23 +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
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
fdd55c4e6e Yet another valgrind-found memory leak. 2004-03-21 03:43:06 +00:00
rocky
fb040eada5 Remove more memory leaks caught by valgrind. 2004-03-20 22:46:56 +00:00
rocky
4c5c801d4e ioctl: printf lint for cygwin (and perhaps others)
cdio.c: define SEEK_SET for cygwin -mno-cygwin (and perhaps others)
2004-03-10 10:57:44 +00:00
rocky
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +00:00
rocky
98b9f3719c Work on mode1 reading. Remove some of the bogusity in cdio.c and bincue.c
win2, now works!
2004-03-05 04:23:52 +00:00
rocky
c090e7ee81 Fix some of the memory leaks and uninitialized variables which valgrind
notices.
2004-02-07 02:40:20 +00:00
rocky
e98490dde5 cdio_analysis -> cdio_iso_analysis 2003-11-05 04:12:57 +00:00
rocky
998b4bb30f Add OSX device scanning. 2003-10-04 23:11:50 +00:00
rocky
ac1103e2bd Clean up comment. 2003-10-04 21:28:27 +00:00
rocky
b8e817feab A better fix by Gildas Bazin. 2003-10-04 20:32:54 +00:00
rocky
90e17cdea8 Check on open that we didn't hit an error. 2003-10-04 20:30:59 +00:00
rocky
694a61cdf1 cdio.{c,h}: update initializations for get_devices. 2003-10-03 02:36:52 +00:00
rocky
d63dec6ebe BSDI Fixes. 2003-10-02 02:59:57 +00:00
rocky
1e84cacbb4 Fill out autoscan devices/images to image drivers. API is probably
closer to more complete.
2003-09-30 03:26:11 +00:00
rocky
21039b8f90 Closer to autoscan working better. globbing for *.nrg in NRG.
Will probably do likewise in bin/cue when NRG is working.
2003-09-29 02:56:22 +00:00
rocky
083f472570 First-cut to auto-scan for device capabilities 2003-09-28 17:14:20 +00:00
rocky
6450be398b Add get_mcn, although it really only works on GNU/Linux right now. 2003-09-25 09:38:15 +00:00
rocky
dd05f2e6ad Change interface for read_audio_sectors. 2003-09-20 12:34:02 +00:00
rocky
f4cc4eb9a0 Bug if we had a get_track_lba but no get_track_msf. Guard against that. 2003-09-14 14:34:51 +00:00
rocky
1d979718ca Rudimentary beginnings for Darwin OS X CD support. 2003-09-13 06:25:36 +00:00
rocky
6d186dbb0e Move ISO-9660 lsn-finding routine from vcdimager here.
More prototypes are "const CdIo *".
2003-09-05 22:48:16 +00:00
rocky
19c7de3990 Straighten out mode1 vs mode2 mess. 2003-08-31 14:26:06 +00:00
rocky
597cef4818 MIN_DRIVER, MIN_DEVICE_DRIVER, MAX_DEVICE_DRIVER -> CDIO_...
Add CDIO_MAX_DRIVER (distinct from CDIO_MAX_DEVICE_DRIVER

cdio.c (cdio_open): was only scanning devices. Change to scan
disk image files as well.
2003-06-22 22:41:29 +00:00
rocky
fee279a0cb Enumeration had grew but hadn't changed string array accordingly. 2003-06-11 10:57:02 +00:00
rocky
d0999c5ebc With M$ we can no longer assume we can open a fd ant it will read
properly. Add yellow-mode reads interface.

There's lots of cleanup to do...
2003-06-07 20:42:49 +00:00
rocky
3db829442a More MinGW things. Need generic routine for determining if a string is a device 2003-06-07 16:53:21 +00:00
rocky
4a83e68d52 Add access routine to return driver string 2003-06-07 01:19:46 +00:00