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
rocky
63a645196e
Closer to having WIN32 CD-ROM support
2003-05-27 02:55:58 +00:00
rocky
8bed6e4314
Add cdio_get_driver_name: routine to list name of driver selected.
2003-05-24 15:25:21 +00:00
rocky
b6b8e1d88a
Add routine to open check for bin file (cdio_is_binfile). Code
...
simplified a little.
2003-05-18 01:50:51 +00:00
rocky
29d1f1da90
Wasn't nulling correctly. Eject test faulty too.
2003-05-16 07:36:48 +00:00
rocky
8b22196efe
Bug in eject: need to close internal file descriptor before ejecting.
...
eject interface now nulls cdio pointer after a sucessful eject.
2003-05-16 07:18:27 +00:00
rocky
adfb8564c9
tests -> test
...
All public includes are included via #include <cdio/....h> rather than
#include "....h"
(removed -I $top_srcdir/include/cdio)
2003-04-22 12:09:08 +00:00
rocky
1e935d3bf1
Add small cdda test.
...
cdio.c: cdio_open was opening image drivers.
2003-04-20 15:34:31 +00:00
rocky
0afa4b86dc
Bad linux default_device initialization.
2003-04-14 04:24:47 +00:00
rocky
58e0285383
Add routine cdio_is_bincue to test if file is a cue file.
...
cdio_open does a better job in automatically determining the type of file.
2003-04-12 03:38:00 +00:00
rocky
aa9d1b517f
get_default_device with NULL will get device *without* trying to open
...
cd. Add read_audio call.
2003-04-10 04:13:41 +00:00
rocky
e345c227ff
Documentation improvment: Note that get_default_device returns NULL on error.
2003-04-04 00:41:10 +00:00
rocky
d10a388ad0
Note that device is uninit when destroying, 'cause it is!
2003-04-02 14:54:52 +00:00
rocky
62d12714b1
More common routiens and structures moved to cdio_generic.c or
...
cdio_private.h respectively.
2003-03-30 13:01:22 +00:00
rocky
f488280282
Add simple (non-mode2) read/seek.
...
_cdio_generic.c: place to save common driver routines
add cdio_get_track_sec_count.
2003-03-29 17:32:00 +00:00
rocky
d8566f16a9
_cdio_linux.c: eject routines does it's own open and close.
...
cdio.h, Makefile.am, cdio.c: Add FreeBSD routine (not complete yet).
2003-03-24 23:59:22 +00:00