Commit Graph

234 Commits

Author SHA1 Message Date
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
b0772e83a6 At least parse DATAFILE lines more fully. Things are better but we're
still having problems reading the ISO-9660 of sms VCD's.
2005-01-16 04:28:02 +00:00
rocky
49d5e4dca2 It appears for cdrdao datastart needs to be larger. Could possibly be
unsigned too.
2005-01-16 04:25:16 +00:00
rocky
87c4b8d39b Small error. Used the wrong variable for extracting the revision. 2005-01-14 22:04:24 +00:00
rocky
5c34644e0c More changes to deal with error conditions. 2005-01-14 21:41:36 +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
17484518c2 Fix syntax error of last commit 2005-01-13 19:39:24 +00:00
rocky
bdd112028a Remove warning and make sure variable is initialized 2005-01-13 19:35:42 +00:00
rocky
4da210587e Save track flags for FreeBSD (preemphasis, # number of audio channels
and copy permit)
2005-01-12 12:15:25 +00:00
rocky
15527b8cb1 Non-functional changes:
Small coding style changes: add _t to some types, p_/psz_ to some variables
  Update/add doxygen comments
  add missing regression test output
2005-01-12 11:34:51 +00:00
rocky
725396e56f lib/{driver,iso9660}/Makefile.am: new improved script for handling the case
where there are no local symbols (or global symbols).
libsio9660.sym: The last remaining local symbol really should be global.

Change made on behalf of Nicolas Boullis.
2005-01-11 00:34:10 +00:00
rocky
3c734f4c25 scsi_mmc.c: style differences. Need to do something about checking to
make sure we don't exceed the disc though.
vcd_demo.right: output has changed yet again.
2005-01-09 16:26:51 +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
rocky
b33726b00e Fix my recent breakage in adding back GNU/Linux endian determination.
Need to seet nsectors if not GNU/Linux. Some lint things for non-GNU/Linux.
2005-01-09 01:50:56 +00:00
rocky
64addbf50c Fix a bad bug where we were requesting potentially a huge number of blocks
(-1 unsigned). Fix both the driver to disallow such a nonsensical thing as well
as just don't make the request.
2005-01-09 00:47:07 +00:00
rocky
8b4a97cd46 Handle the case were we want to open only real CD-ROM devices versus
those where we're willing to open CD-images and real CDs.

Don't know why I never fixed this earlier.
2005-01-09 00:12:21 +00:00
rocky
9771c44e95 Remove some Unixisms in checking drive. Rely on libcdio to do the
checking - it's platform independent.

win32_ioctl.c: more detailed info message.
2005-01-06 16:37:30 +00:00
rocky
adc3813aea Include code to save audio pre-emphasis, # of tracks and copy-permit bit.
I think cd-paranoia may do something now on Darwin.
2005-01-06 04:09:47 +00:00
rocky
f939e73e52 First working all-libcdio cd-paranoia (modulo various omissions and
memory leaks).
2005-01-06 01:15:51 +00:00
rocky
7a2a44a814 The first all libcdio cdda_interface. There are some gaps could be
filled.

cdda_inteface.h renamed to cdda.h

cdio_destroy moved from cdio.h to device.h
2005-01-05 04:16:11 +00:00
rocky
2c20dfb2ef Add device for drive(r)/device things. Reorganize more to pull things
out of cdio and into their respective units.
2005-01-04 10:58:03 +00:00
rocky
f226947ec6 Break out track and disc routines. (Disc needs more work)
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
2005-01-04 04:33:36 +00:00
rocky
0538377177 Add Cdio_t, move some more stuff into track.h 2005-01-02 22:43:41 +00:00
rocky
6c20c2ee86 Add common routine for setting track flags. 2005-01-01 15:08:48 +00:00
rocky
4b4108ed27 Typo. 2005-01-01 14:55:58 +00:00
rocky
5a964aacff NRG: get track flags working.
linux: small clanup in track flags. more to come.
2005-01-01 14:20:15 +00:00
rocky
0c44dbe2b0 Add track control info for Doze. 2005-01-01 04:17:41 +00:00
rocky
1022ccd689 Add track flags for solaris. Regression test without vcdinfo corrected. 2004-12-31 08:27:49 +00:00
rocky
97a51c3c26 Add image driver track flag reporting. Reorganize code for image drivers
a little better (via image_common.c).

Update regression tests for more expanded cd-info output.
2004-12-31 07:51:43 +00:00
rocky
74045586bd Start to fill in cdio_get_preemphasis, cdio_get_copy_permit, and
cdio_get_channels. Internals reworked a little for this.
2004-12-31 05:47:36 +00:00
rocky
c51a6ba67e Add cd-paranoia's track flag routines: copy-permitted, pre-emphasis, channels.
Updates to drivers to set this properly is still needed.
2004-12-30 11:13:49 +00:00
rocky
ce38e7dea6 CDIO_DRIVE_CAP_{MCN,ISRC} are now CDIO_DRIVE_CAP_READ_{MCN,ISRC}
respectively. Thanks yet again to Steve Schultz.
2004-12-22 09:09:55 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00