Commit Graph

1772 Commits

Author SHA1 Message Date
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
rocky
b080079248 Remove a GNU/Linux includes that isn't used any more.
Move other GNU/Linux tests to the linux-specific part of configure.
2005-01-07 22:15:24 +00:00
rocky
23b8fedd65 Small convention changes. 2005-01-07 02:42:29 +00:00
rocky
7c2bc5e889 Initialize buff in case read doesn't do it. (But I'm no sure why the
read isn't doing this properly.)
2005-01-07 02:40:57 +00:00
rocky
90f235fb44 Doxygen documentatoin on more routines. Remove some things that aren't
useable any more.
2005-01-06 23:34:13 +00:00
rocky
8bf55e44b6 Add doxygen doc for exxternal routines. 2005-01-06 23:32:58 +00:00
rocky
b684827de6 When verbose, show cdio info messages. 2005-01-06 22:26:01 +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
967e08d00d Revise for libcdio's name (cd-paranoia). 2005-01-06 13:10:33 +00:00
rocky
eb73ce5385 Various small bugs in setting variables to disable utility programs. 2005-01-06 11:55:09 +00:00
rocky
a79892c7fb Test for GNU getopt_long() and add to cd-paranoia sources. Compile a local
copy if not available.
2005-01-06 11:39:40 +00:00
rocky
14093ffd6b Fix bug in disabling building of utility programs: cd-info,
cd-read. Bug noticed by Steve Schultz.
2005-01-06 10:56:22 +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
7b3a089b9f More portability fixes. I think this now does something on BSDI. 2005-01-06 03:38:58 +00:00
rocky
97af0343c5 Lots of portability fixes to make non GNU/Linux-specific. Now runs on Solaris! 2005-01-06 03:09:11 +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
bb16399e6a Conditional code for non-linux 2005-01-05 22:28:53 +00:00
rocky
cb2cf370ec Another header for Linux and cdparanoia. 2005-01-05 22:28:16 +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
694fbf8006 CdIo -> CdIo_t 2005-01-04 04:42:17 +00:00
rocky
1df3d730f2 Revise for current conventions. 2005-01-04 04:40:22 +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
d72c6b8e40 CdIo -> CdIo_t 2005-01-02 22:49:31 +00:00
rocky
0538377177 Add Cdio_t, move some more stuff into track.h 2005-01-02 22:43:41 +00:00
rocky
307404f50a Regression output changed again. 2005-01-01 15:16:07 +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
1736451181 Show raw and formatted sizes. 2005-01-01 14:20:41 +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
a3c6f07673 Typo in CDIO_FRAMSIZE_RAW0 definition. 2005-01-01 14:19:19 +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
cc9b8fcb42 Track-related calls go here. 2004-12-31 05:48:09 +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
00569141c7 Perhaps this is okay. 2004-12-27 23:50:19 +00:00
rocky
8ddfd0fa0c Remove some semicolons at the end of lines. 2004-12-27 23:33:25 +00:00
rocky
af80e83aa7 Typo causing "make install" to fail. Problem found by Steve Schultz. 2004-12-24 10:41:01 +00:00
rocky
9b53e2ae3c We now list the CD size on the leadout line. 2004-12-23 10:05:02 +00:00