rocky
069940d1a5
Remove a couple of unused SCSI fields.
2005-01-15 16:08:39 +00:00
rocky
aa50f5e09a
Add regression-test mechanism. Right now we only have underrun testing.
...
Perhaps more later...
cd-paranoia: -x option added to specify what to test.
2005-01-15 16:05:44 +00:00
rocky
a1e6e4f5d2
Replace some paranoia-specific copystring's with strdups.
2005-01-15 10:19:22 +00:00
rocky
a9832ae495
Start another cd-paranoia test. This one uses image reading so it
...
doesn't require a CD-DA loaded.
2005-01-15 10:17:17 +00:00
rocky
9137470a8e
Redo in a way simpler way that and in a way that valgrind doesn't
...
think there's a memory leak.
2005-01-15 03:22:48 +00:00
rocky
a3bafd4ba7
cooked_interface.c: check for TOC-read error.
...
cd-paranoia.c: check that list of drives isn't just NULL list.
2005-01-15 02:23:04 +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
9b6f6ef912
Need to put in libcdio libs for testparanoia.
2005-01-14 21:40:33 +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
78c0817acb
Use a more statistical approach to determining if cd-paranoia worked.
...
We still are really testing the error correction part which may be the
most interesting (and useful).
2005-01-14 04:26:20 +00:00
rocky
deaa91326f
Looked at WAV spec format. Probably (but I'm not certain) the thing
...
that was wrong was the test program which needs to byte swap. What
confuses me now is how the media players sort this out.
2005-01-14 04:09:30 +00:00
rocky
165363409d
The sense I'm getting is that while the bigendianp detection is
...
clever, it isn't complete. It may be that we need to use this along in
conjunctin with the endianness of the OS. That is instead of
big/little endian, what's needed is same/not same endian.
For now, the simplest thing is to just disable all of this and wait to
discover a CD-ROM drive where we have a problem.
2005-01-14 03:41:11 +00:00
rocky
eafb323da4
Spelling mistake.
2005-01-14 02:13:36 +00:00
rocky
0f1efd9024
I think I've finally got things worked out so that usage.h gets
...
created before it is needed.
2005-01-14 02:02:26 +00:00
rocky
111db2e6e0
Fix a couple memory leaks by freeing resources.
2005-01-14 01:37:33 +00:00
rocky
bcff4bc236
Reinstate more of the libcdio routines.
2005-01-14 01:36:11 +00:00
rocky
fde6bbbb1b
Put back original cdparanoia byte-swapping routines until we smoke out what's
...
going wrong on cygwin.
2005-01-13 21:38:21 +00:00
rocky
cd919f6664
.
2005-01-13 19:58:17 +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
ed74ce6f37
Just list the drivers that are available.
2005-01-13 19:30:24 +00:00
rocky
424b735b92
Add array to convert paranoia_mode_cb into a string.
2005-01-13 04:00:15 +00:00
rocky
ec58bc385f
Start of a paranoia regression test program.
2005-01-13 03:58:47 +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
f6f38f0359
*** empty log message ***
2005-01-12 04:37:15 +00:00
rocky
446c4adc4c
Add an example of using paranoia with libcdio.
2005-01-12 04:36:57 +00:00
rocky
9cca1f3f05
I really don't understand how Makefile's. Put in an explict dependency
...
between usage.h and usage.txt since the generic one isn't sufficient.
2005-01-12 02:39:17 +00:00
rocky
adf150cdd8
Install program and manpage according to name specificed in
...
--with-cdparnoia-name
2005-01-11 10:51:02 +00:00
rocky
d4abb0f3f5
2nd try at getting tarball built right. This time, ...
2005-01-11 04:11:37 +00:00
rocky
319f45b97a
Missing two headers.
2005-01-11 04:05:02 +00:00
rocky
bb1bb5113d
doc: add some paranoia documentation.
...
src: Cleaner way to get usage and allow it to be customized to a particular
name
configure.ac: add --with-cd-paranoia-name to allow customization of the
cd-paranoia name.
More work is needed to get the binary renamed.
2005-01-11 04:00:26 +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
e49e11fbc7
Had commented out bigendiap avoidance. Use - things go much faster.
2005-01-10 03:39:57 +00:00
rocky
fe0fe0a17a
toc.c: don't assume first sector is 1.
...
cdda.h: document TOC better.
p_block.c: revise getting paranoia first/last sector
2005-01-10 02:10:46 +00:00
rocky
2d451beac7
Another slight error message change.
2005-01-09 17:30:14 +00:00
rocky
2e534e89c3
Let people customize what program name to call this.
...
More accurate error message when auto-detecting drive fails.
2005-01-09 16:42:33 +00:00
rocky
9abcd7d3ca
Some OS's (e.g. BSDI) have limitations on var_arg
...
routines. Accommodate this.
2005-01-09 16:33:18 +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
db486c617d
Better error message when CD audio scanning failed.
2005-01-09 13:19:17 +00:00
rocky
ba7d7c0684
Got BE and LE conversion backwards. Caused cdda-endianess determination
...
to fail.
2005-01-09 12:32:19 +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
4ce2a5fe57
Create open_input() for common input open routines.
...
Input error messages have been gone over. cd-read is a little more
like the rest.
Regression output now has NO-WARRANTY.
2005-01-09 00:10:48 +00:00
rocky
b9778d3b42
Compilation fix for non-GNU/linux
2005-01-08 20:47:03 +00:00
rocky
c6e33b1a1c
Put back some of the GNU/Linux-ism for detecting drive endian-ness.
...
The data-driven endian correction isn't working correctly.
Ultimately though this code should move down into libcdio (and get
removed from here.)
2005-01-08 20:39:40 +00:00
rocky
f4849ba055
Better about handling non-Unix devices.
2005-01-08 00:56:09 +00:00