Commit Graph

1303 Commits

Author SHA1 Message Date
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
8bf55e44b6 Add doxygen doc for exxternal routines. 2005-01-06 23:32:58 +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
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
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
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
4fba1f791c Until we put in more fine-grain control, don't make libcdio_paranoia
and libcdda_interface libraries if we aren't making cd-paranoia.

src/Makefile.am: correct way to disable cd-paranoia.
2004-12-22 10:04:46 +00:00
rocky
b273f5bf95 Read in configuration settings from config.h. paranoia was GNU/Linux based
so the #includes had been set specific to that.
2004-12-22 09:41:58 +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
0c35a965fc More integration/cleanup. Now uses cdio bytesex.h's BE/LE routines.
copystring -> strdup.

Some int's changed to track_t. But I need to be careful *not* to change
cdda_interface.h.
2004-12-19 01:43:38 +00:00
rocky
81d0304b7e test/*, configure.ac:
First paranoia regression test. It's run automatically as it assumes
  that you have a *flawless* CD-DA in a drive.

*.{c,h}: more integration toward libcdio routines. In particular remove
swap16 and swap32.
2004-12-19 00:02:09 +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
rocky
a8f67b6163 Classified one more disc mode perhaps. Variable name change and
probably clarification.
2004-12-17 04:57:14 +00:00
rocky
bdc5d3ff6e Change wording of discmode2str. 2004-12-17 04:50:46 +00:00
rocky
5cfd029197 Towards getting an AIX driver working. 2004-12-15 01:45:15 +00:00
rocky
15e74d015c Add better discmode detection via FULLTOC that we use on GNU/Linux. 2004-12-06 05:30:43 +00:00
rocky
f1c7afdc9d scsi_mmc_get_discmode: As per Justin B Ruggles, SCSI, MMC-5 may require setting
db.field[1] = CDIO_CDROM_MSF.
2004-12-06 04:47:57 +00:00
rocky
2334c3c7cc Move scsi mmc discmode determination to scsi-mmc.
Add discmode for CD-i.
2004-12-04 11:50:40 +00:00
rocky
9e95befc7f Justin B Ruggles <jruggle@earthlink.net> reports:
GNU/Linux ioctl(.., CDROM_DISC_STATUS does not return "CD DATA Form
  2" for SVCD's when I know they are form 2, so we read a FULL TOC in
  an attempt to make it more accurate.  Most of the info was obtained
  the SCSI MMC draft spec revision 10a from
  http://www.t10.org/ftp/t10/drafts/mmc/mmc-r10a.pdf

  Pages 56 to 62 give more details.  Libcdio does not have CD-i as a
  discmode, so I just have it treat CD-i as if it is CD-XA.

This doesn't work for the SVCD I tried but it is probably a step in
the right direction. And when things settle down, it should be done on
other OS drivers as well.
2004-12-04 05:49:25 +00:00
rocky
5e5914d0c3 Small typo. 2004-12-04 05:20:35 +00:00
rocky
9818368169 make -j4 was failing because the Makefile variable
libcdio_la_dependencies was not getting set. I don't know why this
happens, but I've worked around the problem by removing this variable
and adding the value of it (libcdio.la) in the places
libcdio_la_dependencies is used.

Problem reported by Goetz Waschk.
2004-11-22 11:03:28 +00:00
rocky
e28ed9bd87 configure.ac: in 72cvs now.
iso9660.{c,h}: "new" is a reserved word in C++. Don't use it as a
parameter name
2004-11-21 22:32:03 +00:00
rocky
8700ac32b4 Make sure we initialize get_hwinfo expliscitly. 2004-11-20 12:50:26 +00:00
rocky
f0f6aa9441 Make sure get_hwinfo is initialized. Add cdio_ in front of to/from_bcd8 2004-11-20 12:41:21 +00:00
rocky
5c29f90a7c Add cdio_ in front of to_bcd8 and from_bcd8. 2004-11-19 13:04:25 +00:00
rocky
46cfdd10aa _cdio_sunos.c: fix bug in audio mode reading.
*.c: replcate {from,to}_bcd8 with corresponding cdio_ names.
2004-11-18 01:56:09 +00:00
nboullis
8b700e9be7 When a list of exported symbols is modified, the corresponding library
should be rebuilt.
2004-11-16 00:58:10 +00:00
nboullis
b94edb1fcf libcdio's ABI should provide all the symbols required by the API. 2004-11-16 00:57:02 +00:00
nboullis
2c15dd5f1d Access libcdio.sym and libiso9660.sym through $(srcdir) to enable
building outside the source directory. (Used by "make distcheck".)
2004-11-15 21:34:10 +00:00