Commit Graph

814 Commits

Author SHA1 Message Date
rocky
eca77ca5ce Comment fixes. 2004-06-06 11:44:51 +00:00
rocky
8d0e6cd56e Doc fix. 2004-06-06 11:38:33 +00:00
rocky
fe4a50c886 Remove another first track is 1 assumption. 2004-06-06 11:37:59 +00:00
rocky
c18f5a70b3 Remove another first_track = 1 assumption. 2004-06-06 11:30:48 +00:00
rocky
eed4e28a19 Back off of testing for unread TOC. Probably a good idea to do lazy
TOC reading.
2004-06-06 11:25:13 +00:00
rocky
b3f588e60b Compilation fixes. 2004-06-06 10:54:22 +00:00
rocky
0bb7fadf26 More work on removing assumption that first_track is 1. 2004-06-06 10:50:55 +00:00
rocky
729b48f1a8 Go back to two-digit format for minutes in MSF. CD's really can't have
more than 99 minutes in them. So we shouldn't give the illusion they
can.
2004-06-05 02:49:21 +00:00
rocky
0441b2f09d CAM mode2 form1 and form2 reading fixes.
Default device lists default to CAM device name.
Simplify, correct and make more complete CAM support.

With the above we can finally use libcdio for cd-read, vcdimager and
probably vlc and xine.

Many thanks to Heiner.
2004-06-05 02:47:49 +00:00
rocky
8eb47a8c9d Compilation fixes. 2004-06-03 12:37:54 +00:00
rocky
293747adb3 Fix all those *env = env after renaming; It should be *env = user_data. 2004-06-03 09:22:10 +00:00
rocky
4ebd2a09f0 Minor coding changes. 2004-06-03 08:50:30 +00:00
thesin
44d5bda5d2 Fix the -I-I here instead, sorry about that 2004-06-02 13:30:02 +00:00
rocky
6511d6aef7 #include "config.h" got deleted. 2004-06-02 07:44:02 +00:00
rocky
c92b8a21c4 # include vs #include a problem? 2004-06-02 07:40:13 +00:00
thesin
08d7ceae64 Few fixed for the big rename and fixed a long standing mmmm thing that bothered me, -I-I../lib ;) 2004-06-02 04:52:55 +00:00
rocky
afe62ef6bb Compilation fixes. 2004-06-02 01:01:18 +00:00
rocky
5e2642af4b Remove some of the bogus assume 1 is first track.
Renamings: env -> user_data
	   _obj -> env
2004-06-02 00:43:53 +00:00
rocky
a26f18d1cd Some compilers can't hack "# include" 2004-06-02 00:37:14 +00:00
rocky
375de2275f Typo. 2004-06-02 00:35:32 +00:00
thesin
48b9dd9306 Now knows XA and CD-i tracks, thought I'm not sure it's working 100%, reads the correct amount of tracks, still need to fix the MCN code. 2004-06-01 16:02:46 +00:00
rocky
11f7fbe9f3 Avoid subtraction of unsigned numbers. 2004-06-01 11:45:35 +00:00
rocky
a9f1ebe431 Bug in conversion logic. 2004-06-01 11:43:57 +00:00
rocky
33be1e3ebf Some variable renaming.
Also less pervasive assumption that the first track is 1.
2004-06-01 11:15:58 +00:00
rocky
2c272e7e90 Break out file NRG format structures into a header. 2004-06-01 10:47:37 +00:00
rocky
dae18fe88f Make use of return code from parse_nrg()
A mode1/2 fixup.
Some small code reorganization.
Closer to being able to parse without opening.
2004-06-01 10:43:23 +00:00
thesin
ff7a568da5 Now knows the difference between DATA and Audio tracks on OSX, also temp change to eject command till I find the right way to implement it in code. 2004-06-01 03:44:55 +00:00
thesin
b0416a3eff Fix compile on OS X 10.3, should work on 10.2 and 10.3, still testing for 10.1, OS X Drivers still incomplete this is just to fix compiling. 2004-05-31 15:21:48 +00:00
rocky
6f78156edb Some variable renaming. env is the environment, user_data is what is
passed in.
2004-05-31 14:53:07 +00:00
rocky
a311ef0716 Merge more information in from extractnrg.pl 2004-05-31 14:16:34 +00:00
rocky
376e021218 Hopefully improve names. "user_data" comes from user. "env" an
environment is really what this is. "obj" is just to vague.
2004-05-31 12:29:09 +00:00
rocky
22fd14048f Duplicate free bug fix from tracked down by Heiner. 2004-05-31 12:05:12 +00:00
rocky
1abdc2e353 Better DAOI and DAOX information based on extractnrg.pl. 2004-05-31 04:00:01 +00:00
rocky
0ab4b1ada0 Remove the bogus assumption that the first track is always 1. May
help down the line with multi-session CDs.
2004-05-27 12:10:21 +00:00
rocky
92ab8ff36d Remove some of the bogosity in assuming the first track starts at 1.
(Probably will be useful on multi-session CD's).
2004-05-27 10:58:11 +00:00
rocky
f858aedc98 We shouldn't terminate if we can't get an MCN. 2004-05-27 10:47:07 +00:00
rocky
12a6d32d95 Fix prototype mismatch. 2004-05-27 01:11:50 +00:00
rocky
1e67fc17e0 Correct mismatched prototypes. 2004-05-27 01:06:34 +00:00
rocky
42b16ab189 Improve slightly (or possibly break slightly) based on information
from extractools.pl.
2004-05-26 06:27:03 +00:00
rocky
484637b207 Make default CAM since that works best. It might help the single
FreeBSD user of libcdio.
2004-05-24 23:31:15 +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
2a54d504c0 MSWindows/*: get access mode working better. ASPI support is faulty though
freebsd.c: it's "ioctl" not "IOCTL";
cdrdao: it's cdrdao, not "toc"
cd-info: slightly better error message?
2004-05-16 13:33:26 +00:00
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
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
cf6fd8b4c8 Allow more flexibility in specifying access mode.
"IOCTL" -> "ioctl".
2004-05-13 01:49:01 +00:00
rocky
9bf0aa3771 Correct size. Thanks to Heiner. 2004-05-12 20:06:10 +00:00
rocky
1526f100f2 cdio.h: update doxygen documentation
sector.c: remove erroneous fix.
2004-05-11 12:17:17 +00:00
rocky
3f6cba2b0a - Redo types of lsn and lba to allow negative values. Should model MMC3
specs. Add max/min values for lsn.
- More complete MMC command set
2004-05-11 02:15:42 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +00:00
rocky
5328594c59 Check for invalid LSNs. Turn some asserts into just returning failed status. 2004-05-09 22:12:49 +00:00