Commit Graph

126 Commits

Author SHA1 Message Date
rocky
3abb1badf9 audio.h: redo audio volume levels a little.
mmc.{c,h}: attempt to get audio ports/selections via MMC.
cd-info.c: show volume output levels in a cleaner fashion.
2005-03-02 04:23:59 +00:00
rocky
850aeed10d Deal with unimplemented audio status (such as on image drivers) 2005-03-01 11:29:52 +00:00
rocky
01f3d305f7 Slight output change. 2005-03-01 11:14:43 +00:00
rocky
881d4fcf8f mmc.c: fix up read_audio_subchannel_mmc
audio.h: more direct field names
mmc.h: add mmc_subchannel_t;  scsi_mmc -> mmc
cdio-linux.c: remove deprecated from_bcd8
2005-03-01 10:53:15 +00:00
rocky
862d186157 Don't do CD analysis if we are currently playing a CD. 2005-03-01 07:54:09 +00:00
rocky
cdef618824 Corrections to audio. First glimpse at working (on GNU/Linux) audio
controls.
2005-03-01 02:49:43 +00:00
rocky
a2fccc90c4 Add routine for extracing ISO 9660 long time format and probably correct
the short-time format a little.

Handle Rock-Ridge time and be able to display it.
This pretty much completes the bulk of handling Rock-Ridge extensions.
2005-02-22 02:02:46 +00:00
rocky
ec0564dfee Process Rock-Ridge time fields. Not tested or shown yet.
Break out Rock Ridge fields of our ISO9660 stat.
2005-02-21 09:00:53 +00:00
rocky
5b029744c6 Process symbolic links. Remove some memory leaks. 2005-02-21 02:02:12 +00:00
rocky
3d97c7ded6 Correct Rock-Ridge directory/link listing.
{cd,iso}-info --no-rock-ridge works (and with rock-ridge too)
test/*.right: output is now what I guess it's should be
2005-02-20 16:21:06 +00:00
rocky
a8e1fd6038 all: Add iso9660_get_rock_attr_str to get an ls-like mode string for rock
ridge.

{cd,iso}-info.c util.{c,h}: put common printing routine in util.c

rock.h: add enum for NM flags
iso9660.h: move mode_t typedef so it can be used in rock.h
xa.{c,h}: small typos.

test/*: in most cases better output. On VCD's however there there is a
slight regression on displaying the filename someitmes. Will be
addressed later.
2005-02-20 10:21:01 +00:00
rocky
834b1d06b6 cd-info.c: tolerate CDDB options even when we don't support CDDB.
Better error reporting of bad options.
2005-02-19 11:43:05 +00:00
rocky
a4d389b939 iso9660_fs.c: reallocate filename when Rock-Ridge name is bigger.
rock.c: variable name changes

cd-info.c: don't translate file name when there are Rock-Ridge
Extensions.
2005-02-18 01:31:08 +00:00
rocky
ab344d538c Remove more of the no longer needed distinction (that we sometimes got
wrong) of Mode 1 vs Mode 2 data reading.
2005-02-17 11:54:28 +00:00
rocky
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
9e2eaf7546 cdparanoia: add ability to disable byte swapping
configure.ac: remove AIX driver for now - it doesn't really work
remove some (but not all) of the valgrind errors in cd-text
Some stylistic things, doxygen comment improvements typos, etc.
2005-01-27 03:10:06 +00:00
rocky
e0cce4558d Version information now includes build. 2005-01-22 22:21:36 +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
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
d72c6b8e40 CdIo -> CdIo_t 2005-01-02 22:49:31 +00:00
rocky
1736451181 Show raw and formatted sizes. 2005-01-01 14:20:41 +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
8b111096d3 cd-info now shows size of CD.
iso-info takes options -l and -f to be a little more like isoinfo

configure.ac now allows for disabling cd-paranoia, iso-read,
iso-drive, cd-drive.

Regression tests adjusted to new output and more drive reading capabilities.
2004-12-18 21:24:25 +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
16bc93f4e5 Add cast to remove compiler warning. 2004-12-04 11:44:16 +00:00
rocky
734f295960 Add cdio_ in front of to_bcd8 and from_bcd8. 2004-11-19 22:10:21 +00:00
rocky
5b3981e365 Add "toc-file" option for cdrdao images. 2004-11-19 02:16:21 +00:00
rocky
5e87bca2c8 Bug in showing cdtext for individual tracks. 2004-11-06 03:12:34 +00:00
rocky
152d8508b7 Common output routine in utility programs as a concession to
environments which may no have or prefer stdout/stderr such as XBOX.
2004-11-04 10:08:23 +00:00
rocky
749d506d08 Conditional compilation of Joliet support. 2004-10-29 02:11:48 +00:00
rocky
90ce9028d2 Add --no-joliet option 2004-10-26 07:51:49 +00:00
rocky
30a19a1909 Various valgrind-detected memory leaks and unitialized variable errors. 2004-10-26 07:34:41 +00:00
rocky
8b895d0ba1 Joliet filename detection for CD images is now done.
Various valgrind-caught errors fixed
Output changed: we no longer print root block number.
(It is still shown when XA attributes are printed.)
2004-10-26 01:21:05 +00:00
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +00:00
rocky
b80d83f07b iso9660.h, iso9660_fs.c: Add iso9660_ifs_is_xa() a routine to
determine if an iso image has XA attributes.

bytesex.h and bytesex_asm.h are now public. (Down the line should use
glib though.) Package  has been revised to the move.

iso-info.c: shows XA attributes what that it is available.
2004-10-22 01:13:38 +00:00
rocky
0dd6c21281 Make ds.h public. It should have been that way since it *is* public.
Eventually though we'll redo things using glib and then ds.h will get
removed.
2004-10-09 03:20:28 +00:00
rocky
a5131730d0 Possibly some C compilers need at least 2 arguments. Noticed on old
FreeBSD box.
2004-09-02 01:33:57 +00:00
rocky
b82de3054b Error messages was slightly incorrect. And add another one of that ilk. 2004-08-30 01:25:09 +00:00
rocky
c5d4c75599 _cdio_osx.c: wasnt' returning CDIO_INVALID_TRACK on TOC read error.
cd-info.c: abort sooner if we can't read the TOC.
2004-08-30 01:14:14 +00:00
rocky
91af2a7906 cd-info.c: bug in DVD test.
sector.h: redo the way the dvd and cd tests work. Isn't strictl necessary, but
   this is has fewer implicit dependencies.
2004-08-30 01:01:14 +00:00
rocky
1703e7dc00 sector.h: add routines for determining if discmode is DVD or CD.
cdtext*: adjust for bigendian or not. Check for double-byte characters.

cd-info.c: new option --dvd. Don't attempt to understand DVD unless this is
           given.
2004-08-30 00:26:59 +00:00
rocky
19991ded7b add psz_ to hwinfo type.
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +00:00
rocky
7454e4375e Add a couple of routines to pass back the driver used in getting a
drive.  Speeds up a little the task of opening the drive. Is now used
in cd-drive and cd-info.
2004-08-27 04:17:08 +00:00
rocky
758f954e1f Expose hwinfo call as a cdio command. It was SCSI-MMC. This may help
on OSX.
2004-08-27 02:50:13 +00:00
rocky
dacdcc0eb0 cd-info.c: should not try to print out MCN for DVD's - they don't have any
such thing.

util.c: wasn't reading right/write parms when showing write capabilities.
	now also show DVD+RW and DVD-RW capabilities.
2004-08-06 00:53:58 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +00:00
rocky
fd5e6d1243 Reduce overall number of CD disc modes. I thing the main purpose
that will be used is to separate CD Audio from CD Data, XA and DVD's.

On GNU/Linux it seems that the implementation is a bit artificial.
2004-07-25 18:37:09 +00:00
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00