rocky
11ade4b1eb
Use SCSI-MMC routine for reading audio sectors. ioctl READRAW doesn't
...
always word and is slow.
2005-01-23 17:14:33 +00:00
rocky
bdf0d1a6c4
Work around problem where we were accessing outside of an allocate
...
range when the drive endian was different than the CD-ROM
endianness. We do this by always allocating an extra block, but it
would be better to understand whether this is correct or whether some
logic needs to be fixed.
2005-01-23 14:05:19 +00:00
rocky
410a6a70e8
Remove access of uninitialized memory.
2005-01-23 05:54:25 +00:00
rocky
025ab2bd45
Remove memory leak. Not used in regression testing though.
2005-01-23 05:51:44 +00:00
rocky
4fabb2857e
Remove some valgrind-caught memory leaks or use of uninitialized regions.
2005-01-23 05:31:03 +00:00
rocky
09c1a1d180
Valgrind-caught memory leak.
2005-01-23 04:53:31 +00:00
rocky
c9852fb89d
Since we have better TOC checking we now have to give real filenames.
...
Adjust for this. Also added a regression test with a bad file name.
2005-01-23 00:45:57 +00:00
rocky
971e5ae928
Nope. Didn't get it right this time either with the byteswapping.
...
However we've at least reduced the customness.
2005-01-23 00:27:11 +00:00
rocky
b471729aa7
Use common byte-swapping routines and remove cdparanoia-specific ones.
...
(This time, for sure!)
2005-01-23 00:20:43 +00:00
rocky
cf2afbb0d7
*** empty log message ***
2005-01-23 00:02:15 +00:00
rocky
a352d2c8df
Improve cdrdao to handle MSF-length.
...
Remove vcd_demo_toc.right since the cd-info output is now the same as
vcd_demo.right vcd_demo.toc adjusted accordingly.
2005-01-22 23:57:10 +00:00
rocky
e0cce4558d
Version information now includes build.
2005-01-22 22:21:36 +00:00
rocky
37d52c861d
check_paranoia.sh.in: Add a more agressive paranoia test.
...
*version.h*: Include build name in version listings.
2005-01-22 19:39:16 +00:00
rocky
9ff5a5efa4
Was missing move of jitter output.
2005-01-22 18:54:19 +00:00
rocky
c44879f180
More about where to look for examples.
2005-01-22 18:49:21 +00:00
rocky
599a6214d6
Programs have been added and renamed.
2005-01-22 18:43:13 +00:00
rocky
6834f59066
*** empty log message ***
2005-01-22 18:15:15 +00:00
rocky
567e6e7775
Add jitter simulation and jitter-correction testing.
2005-01-22 18:11:32 +00:00
rocky
4e8d4c1373
Add a CAM read audio now that CDIOREADAUDIO deosn't work on newer FreeBSDs.
...
Deal with recent generic->mmc name changes.
2005-01-22 12:51:56 +00:00
rocky
27e8d4856f
Don't attempt to see before the beginning of a file.
2005-01-22 11:22:00 +00:00
rocky
1062cf3c74
Add routines which allow cdio object to be opened before cdda_open.
...
common_interface.h: data_bigendianp() is now public (in cdio/cdda.h)
2005-01-22 03:45:18 +00:00
rocky
33ae20b89d
Add interfaces which allow opening a cdio object before running paranoia.
...
data_bigendianp is too neat to keep it private.
2005-01-22 03:43:03 +00:00
rocky
674ab62822
Add an example which opens the cdio object first. Also show off
...
data_bigendianp().
2005-01-22 03:41:50 +00:00
rocky
a3b615504d
Add Justin's info.
2005-01-22 01:18:52 +00:00
rocky
437c202cdb
Use strerror in all ioctl to give additional info.
2005-01-21 23:12:54 +00:00
rocky
51639aaa86
Remove a number of const's since Darwin's run_scsi_mmc doesn't work
...
that way :-(
2005-01-21 20:54:55 +00:00
rocky
c5462f0fad
routine name change.
2005-01-21 15:30:11 +00:00
rocky
cb268b6529
_cdio_stream.c: replace assert's with failures.
...
Make cdrdao be able to handle the kind of images vcdimager produces.
There was a slight regression (perhaps so vcd_demo_toc.right may in
fact not be right. Deal with some other time.
2005-01-21 10:11:23 +00:00
rocky
cedfde7b80
Remove get_scsi for now.
2005-01-21 03:15:36 +00:00
rocky
688c30e66a
Move some of the "generic" routines using MMC into SCSI-MMC. Think is a
...
little bit clearer and cleaner.
2005-01-21 02:59:32 +00:00
rocky
ae7667d336
Remove probably some serious lapses:
...
Now check all reads for exceeding end of disc and info messages can be
logged. We were also returning 0 on error reads. Regularize by using a
couple of macros.
2005-01-21 02:57:59 +00:00
rocky
e6fc7b7ad2
Missed a couple of env -> p_env's
2005-01-20 14:58:22 +00:00
rocky
cd9d8beba5
Add Scott Wood's code for issuing SCSI-MMC command. It doesn't work though.
2005-01-20 12:36:21 +00:00
rocky
d6b930e6cc
Add get_blocksize. There may be some breakage as I haven't tested all of the
...
various drivers yet.
2005-01-20 05:07:00 +00:00
rocky
fb07d7d0fe
Various doxygen improvements.
2005-01-20 04:51:14 +00:00
rocky
1b48133934
Turn a bunch of defines into an enumeration. Makes debugging a bit
...
nicer.
2005-01-20 04:46:25 +00:00
rocky
bd333bc73f
Move a set_speed and set_blocksize (via MMC)from driver-specific
...
places to generic.
Add _t to yet another type.
2005-01-20 01:00:52 +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
8588f4ae8e
Type cast that might make this more robust. 'Dunno.
2005-01-19 17:25:50 +00:00
rocky
1b40bc3018
Even though this may not be nstrictly the way the original
...
cdda_interface does things, add a spaces between the vendor, model,
and revison number.
2005-01-19 17:24:58 +00:00
rocky
17e0ce465d
Accomodate Windows that sometimes gives an argc that seems one greater
...
than what's not NULL in argv. And it is probably a good idea anyway to
test for null strings before calling strdup()
2005-01-19 17:23:28 +00:00
rocky
a5dd90adb2
Change to use driver_return_t
2005-01-19 09:42:32 +00:00
rocky
9b8586d97f
Change to use driver_return_t.
2005-01-19 09:40:50 +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
634ac3f979
Do not try to process if we got errors. More needs to be done, but this is a start.
2005-01-18 16:05:29 +00:00
rocky
95cbee45e5
Note change in -g option and that we scan for a CD-DA (rather than
...
merely a CD-ROM).
2005-01-18 12:59:09 +00:00
rocky
389c5e0057
Got test backwards.
2005-01-18 12:34:21 +00:00
rocky
79ba6afcbb
--force-generic-device -g is an alias for --force-cdrom-device -d
2005-01-18 12:26:06 +00:00
rocky
63217964d6
The usual.
2005-01-18 05:46:04 +00:00
rocky
93d29803c0
Attempt SCSI-MMC speed setting (e.g. for M$).
2005-01-18 05:41:58 +00:00