rocky
cb7c0e870a
Go over FreeBSD code based on output from Heiner.
...
Hopefully 3 bugs are fixed:
- we get the leadout track now, no core dumps
- MSF reporting is corrected
- track format and mode
_cdio_linux.c: use cdio #define rather than GNU/Linux one.
2004-05-13 04:32:12 +00:00
rocky
aab600b46a
Make scsi_mmc.h public.
2004-05-10 03:28:51 +00:00
rocky
a41b31b805
_cdio_freebsd.c: is now in FreeBSD (with some cam code)
...
_cdio_linux.c - minor name changes.
2004-05-06 01:21:29 +00:00
rocky
7f10dab1a1
Small fixes.
2004-05-05 02:47:18 +00:00
rocky
8c0d08b480
Don't give "source not a device message" for uniformity with other drivers.
2004-05-04 01:57:23 +00:00
rocky
e853206824
Compilation fixes and modulization improvements.
2004-04-30 21:36:53 +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
6b9bc59426
More procedure canonicalization, some #defines added and used.
2004-04-26 07:54:47 +00:00
rocky
3ecd485a7d
More regularization of names. Warning: untested on freebsd and osx.
2004-04-25 15:41:26 +00:00
rocky
20974d4568
CDIO_DRIVE -> CDIO_DRIVE_CAP
2004-04-25 14:07:23 +00:00
rocky
36507b3c10
get_mcn paramater is const.
...
solaris: failed attempt to get mcn and drive capabilities. Some
boilerplate routines used.
scsi_mmc: more defines.
src/cd-drive.c: bugfix when cdio is null
src/util.c: small enhancement.
2004-04-25 03:52:37 +00:00
rocky
1bf5f1e464
Regularize naming convention of static routines a little bit.
2004-04-25 01:19:58 +00:00
rocky
b6a67c8d94
image/common.c, Makefile.am: common image routines.
...
src/cd-info.c, *.right: Now show file images under "drive capability"
bincue.c/nrg.c: report file image "drive capability"
2004-04-23 01:01:35 +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
6fad463e33
mode{1,2}_form2 -> b_form2
2004-03-07 02:42:22 +00:00
rocky
63464c508c
Not sure why we had *exclusive* access just to see if a CD-ROM is
...
around. Was causing failure to discover CD-ROM drives.
2004-03-07 01:40:00 +00:00
rocky
7b44195c51
GNU/Linux mode1 sector bogosity reduction. (Could be greatly improved.)
2004-03-06 04:49:26 +00:00
rocky
ad2f334b7b
More memory leaks found by valgrind.
2004-02-21 17:18:04 +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
a91317ae10
Use bool where appropriate.
2003-10-03 01:26:52 +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
3c5888e31d
Replace techno-wizard message "Get MCN" with more layman "Media Catalog Number"
2003-09-27 23:29:29 +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
9056ac6275
Clean up mmc code a bit
2003-09-19 04:37:31 +00:00
rocky
3b2e52e8fc
Put more into scsi_mmc.h
2003-09-18 13:31:07 +00:00
rocky
a0c364a5fb
Don't turn a LSN into an LBA when reading audio.
2003-09-17 12:16:42 +00:00
rocky
63af058973
Use new common scsi_mmc.h.
2003-09-14 09:34:17 +00:00
rocky
833bc3d21d
Note TOC's initialized so we don't reread. Add some int's to unsigned.
2003-09-01 15:11:36 +00:00
rocky
33acb91f16
Wasn't noting that we read TOC so we were re-reading it every time.
2003-09-01 02:02:03 +00:00
rocky
c7703d2fd1
Small comment change.
2003-07-27 22:52:22 +00:00
rocky
67051b0f71
Make GNU/Linux smarter about finding a default device -- code sort of from SDL.
...
Better error checking all around.
2003-06-12 04:46:27 +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
cf68b0ffc7
Remove compile warning on non-GNU/Linux servers.
2003-04-15 05:19:00 +00:00
rocky
4a67211833
Add ability to read audio (CD-DA) sector.
2003-04-10 04:11:45 +00:00
rocky
66575b8b85
Small name changes.
2003-04-08 21:12:45 +00:00
rocky
1844e64bfb
More #define reductions/fixes.
2003-04-06 18:12:37 +00:00
rocky
797d0c3c98
Change sector.h constants, yet again. This time for Herbert Valiero Riedel.
2003-04-06 17:57:20 +00:00
rocky
fe31b5baa6
Use new sector.h constants. More changes will no doubt follow.
2003-04-06 06:45:13 +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
rocky
d4d82912da
Initial revision
2003-03-24 19:01:09 +00:00