Commit Graph

43 Commits

Author SHA1 Message Date
R. Bernstein
4f0228e99f Fix bug in 0.81 release in adding NetBSD driver. Make device enumerations
match internal structures. (Also corrected the name for the
non-existent AIX driver.)
2008-12-06 22:35:16 -05:00
R. Bernstein
542481d673 Wasn't checking the range of the device id in cdio_have_driver. Add regression test for checking this too.
More git administrivia.
2008-12-06 21:20:51 -05:00
karl
8deec6fcc9 gplv3+ 2008-04-22 15:29:11 +00:00
rocky
0e463dfc0d Start NetBSD driver 2008-03-27 17:40:50 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
dbc63b695a Yet another attempt to get "get_drives_with_cap" working in a rational
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3 One more time, go over logic of get_drives_with_cap. 2006-03-27 02:48:41 +00:00
rocky
8b24c3a47e Bug in get_drive_types_with_cap: Had wrong boolean logic. 2006-03-26 20:47:55 +00:00
flameeyes
3658a88d65 Use complete struct initialization to avoid spurious pointers. 2006-02-27 10:29:20 +00:00
rocky
6cbdfae3e2 scsi_mmc_direction_t -> cdio_mmc_direction_t 2006-02-18 19:36:07 +00:00
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +00:00
rocky
3861e929ef Fix bug in is_device when driver_id = DRIVER_UNKNOWN or DRIVER_DEVICE 2006-02-01 00:45:45 +00:00
rocky
5ac663c6a2 Add cdio_driver_return_code_to_str() to give a string interpretation
of a driver return code.
2006-01-15 01:26:50 +00:00
rocky
088c1e62a9 Document behavior of cdio_open* and media_eject when no device given. 2006-01-14 10:10:34 +00:00
rocky
8bf123a750 More enumerations.
*.c: add "debugger" enumeration variables.
2006-01-14 09:45:44 +00:00
rocky
6f81e9252b Add interface to eject CD-ROM by device name.
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
ea6f2ba77c testparanoia.c: free() moved inside library where it belongs.
others: trivial changes.
2005-04-11 01:03:46 +00:00
rocky
d07801abd1 trivial format change. 2005-04-11 00:53:56 +00:00
rocky
e29bd8949a More memory management stuff. 2005-04-11 00:53:09 +00:00
rocky
c89b50e07e Correct FreeBSD table initialization.
Chalk another up for valgrind. Fix memory leak in cdio_free_device_list().
2005-04-10 14:39:19 +00:00
rocky
6a8b040a2f FreeBSD audio control patches from Heiner. 2005-04-05 02:13:58 +00:00
rocky
36f606f0dc Fix up BSDI code for closing tray. All the hard work really due to
Steve Schultz.
2005-03-22 08:59:54 +00:00
rocky
140e8cc8c0 Remove gcc 2.95 warnings on BSDI 2005-03-19 07:28:56 +00:00
rocky
89a88ff987 remove non-const warning. 2005-03-17 09:01:58 +00:00
rocky
0507f61921 Allow returned parameters to be NULL. 2005-03-14 02:02:49 +00:00
rocky
76d8cbe880 win32.c: get eject working.
device.c: an additional test for a NULL pointer to be on the safe side.
cdda-player: better handling of eject.
2005-03-09 02:19:54 +00:00
rocky
2b53fd1f60 Possibly Solaris close tray fixes. 2005-03-08 04:10:36 +00:00
rocky
7ae764d9b8 lib/driver/device.c: bug in close routine looping.
lib/*: Modify close routine for Win32 ioctl.
src/cdda-player: add option for close cd tray and minor things
2005-03-08 03:11:19 +00:00
rocky
068120281b Start of a working close_tray routine.
Add another routines which returns driver id to help reduce driver scans.
Reduce unneeded driver scanning my skipping DRIVER_UNKNOWN.
2005-03-07 07:23:52 +00:00
rocky
083e586379 Was destroying device list when getting capabilities. This should be an
in parameter only.
2005-03-06 22:04:07 +00:00
rocky
1fe287e813 More audio control corrections. 2005-03-06 11:21:52 +00:00
rocky
b0f8934073 get_last_session returns lsn_t not session number.
Add get_track_last_session for Solaris. Correct it's play_msf.
2005-03-05 10:48:41 +00:00
rocky
822a203ba8 Add API routine to get last session number. 2005-03-05 10:10:16 +00:00
rocky
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
71a71d7f56 Start to implement ability to a detect media change.
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
d7b87a6fad Add a cdda_close that doesn't free the p_cdio pointer for those cases
where an application may want to keep that pointer open.

All routines now are distinct from parnaoia routines with suitable
#defines for compatibility.
2005-01-26 01:03:16 +00:00
rocky
f7ebed2287 Add DRIVER_OP_UNINIT and change appropriate DRIVER_OP_ERROR's to
DRIVER_OP_UNINIT.
2005-01-20 00:36:38 +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
389c5e0057 Got test backwards. 2005-01-18 12:34:21 +00:00
rocky
e5bdc956e9 Add interface for setting speed and blocksize. Reinstated it in
cd-paranoia libraries and command.

Some more variable convention regularizations.
2005-01-18 00:57:19 +00:00
rocky
17c55ea59b add _t to another time. driver_id inside p_cdio wasn't initialized. 2005-01-17 17:20:09 +00:00
rocky
15483ee573 win32.c: was not indicating a failure when reading the TOC failed.
testparanoia.c: better check that there are drives.
device.c: I think better checking on drive capability. At least we now
	check for the TOC failure case and not add a drive there.
2005-01-14 19:25:45 +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