Commit Graph

458 Commits

Author SHA1 Message Date
rocky
3b0b52ac52 Allow the MMC timeout to be adjusted by the application. 2005-06-26 18:29:49 +00:00
rocky
929770f419 Add routine to report MMC capabilities of a drive. Add that to the
cd-drive program.
2005-04-30 09:42:37 +00:00
rocky
5a515d9140 Simplify endian determination - thanks to suggestions of Steve Schultz
Remove recently added field is_scsi which isn't in cdparanoia
2005-04-30 07:15:51 +00:00
rocky
54e0e9a52f An ATAPI drive (_NEC , DVD_RW ND-3520A, 1.04, SCSI CD-ROM) was getting
set as big endian although it appeared not to, possibly because of
SCSI emulation.

We now test for SCSIness in addition to ATAPIness as both can occur.

Added field in cdrom_device structure for SCSIness and that's tested
before unconditionally setting drive bigendian-ness.
2005-04-28 01:25:53 +00:00
rocky
5b0aecf817 glossary.texi: CDTEXT -> CD Text
util.h: allow getting larger sector count sizes. CD's new 900MB could exceed
16-bits.
2005-04-27 23:31:47 +00:00
rocky
adc1418cbd From Burkhard Plaum:
1. Fix a crash, which happened when cdtext_get() was called for an emtp=
y
   (i.e. NULL) field.

2. Add another function cdtext_get_const(), which returns a const point=
er
   and avoids too much strcpying (apps may want only to TEST if a
   field is present or have their own string management routines).
2005-04-25 23:06:21 +00:00
rocky
79780510e2 Note BCDness of msf_t 2005-03-21 10:43:08 +00:00
rocky
2a11267eb9 Doxygen lint corrections. 2005-03-21 09:19:06 +00:00
rocky
a5161ab684 Revise audio subchannel structure to remove lba uniion since we don't
support returning LBA's inside the structure.

include/types.h: use cdio_config.h if none was supplied.
2005-03-19 06:42:22 +00:00
rocky
e936b135a7 Apparently some are depending on sizeof(bool) to be 1 byte. I don't
see this in libcdio, but I suppose it's a possibility. In gcc3 enums
are 4 bytes. This patch from Tim Potter forces sizeof(bool) to be 1
byte.
2005-03-18 01:15:49 +00:00
rocky
0507f61921 Allow returned parameters to be NULL. 2005-03-14 02:02:49 +00:00
rocky
8e8c54a457 Add MMC START STOP interface. 2005-03-09 10:23:01 +00:00
rocky
068120281b Start of a working close_tray routine.
Add another routines which returns driver id to help reduce driver scans.
Reduce unneeded driver scanning my skipping DRIVER_UNKNOWN.
2005-03-07 07:23:52 +00:00
rocky
083e586379 Was destroying device list when getting capabilities. This should be an
in parameter only.
2005-03-06 22:04:07 +00:00
rocky
6cf48eacb8 Add cdio_audio_get_msf_seconds 2005-03-06 15:59:20 +00:00
rocky
1fe287e813 More audio control corrections. 2005-03-06 11:21:52 +00:00
rocky
83601dc13e Add routine to turn audio status into a string. 2005-03-06 02:59:26 +00:00
rocky
3e84283fa8 Don't rely on compatability with 0.72. Use new type names. 2005-03-06 00:03:53 +00:00
rocky
b0f8934073 get_last_session returns lsn_t not session number.
Add get_track_last_session for Solaris. Correct it's play_msf.
2005-03-05 10:48:41 +00:00
rocky
822a203ba8 Add API routine to get last session number. 2005-03-05 10:10:16 +00:00
rocky
d76eddad1b Revise play_audio_msf for start/end as it should be.
_cdio_*driver*.c -> *driver*.c
2005-03-05 09:26:52 +00:00
rocky
d496ca3dbc 1st attempt to fill in some audio controls for Windows ioctl. 2005-03-05 09:11:44 +00:00
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
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
cd328dac84 Report ability to read MCN.
Add MMC routine to read audio subchannel.
2005-03-01 09:33:52 +00:00
rocky
47a5589e61 Add audio lineout controls (play, pause, volume control) 2005-03-01 00:41:34 +00:00
rocky
4d393869ba Tighter declarations of variables. 2005-02-28 02:05:19 +00:00
rocky
306f8bc498 More device error return codes. More detailed errors when CDROM_SEND_PACKET
fails.
2005-02-28 02:00:20 +00:00
rocky
c350e2bdf3 Remove duplicate #define's 2005-02-25 09:47:10 +00:00
rocky
a37cfc0ba4 NEWS: all that's gone on so far in 0.73cvs
README: Note paranoia and samba vfs module
*.{h,c}: more debugger symbols. Use _s convention more.
2005-02-22 10:42:50 +00:00
rocky
5eacbe6af2 More time corrections as hopefully move towards Nirvana. 2005-02-22 04:32:52 +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
6600edd69c Add debugging enumeration for ISO EXTENSION masks. 2005-02-19 11:47:05 +00:00
rocky
89ea3eb0e1 Allow C++ programs to issue mmc commands. 2005-02-19 11:45:03 +00:00
rocky
da62695b60 Move forward in getting better ISO-9660 reading by eliminating "Mode 1/2"
specification in API.
2005-02-17 07:03:36 +00:00
rocky
78a3f49868 Add routine for reading data independent of or mode1 and mode2 format.
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.

Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
2005-02-17 04:57:21 +00:00
rocky
b504a1a652 First semblance of being able to handle Rock Ridge names. 2005-02-14 07:49:46 +00:00
rocky
3f4397a6f5 Remove assumption that OS has POSIX file definitions (mode_t, nlink_t,
gid_t, uid_t, time_t, etc.)
2005-02-14 02:18:58 +00:00
rocky
2f11a30fb3 Merge in more Rock Ridge code. Not working yet. Hopefully not much
breakage. (But there may be some especially on less-POSIX OS's.)
2005-02-13 22:03:00 +00:00
rocky
ce83b58dc6 Add header for Rock-Ridge extensions. 2005-02-13 00:20:04 +00:00
rocky
78eabe4f2a iso9660.h, iso9660.c, xa.c, xa.h: Add const char's for debugging use.
iso9660.h: go over yet again for more info from the ECMA 119 spec.
2005-02-12 18:24:21 +00:00
rocky
c3dfa6f588 Add type definitions for achar, dchar and ISO 9660 7.1.1 - ISO 7.3.3
types and use them. This frees up space for better comments about he
feild names of a PVD or SVD.
2005-02-12 16:35:35 +00:00
rocky
e13dd6df2f Remove doxygen references to get_speed() routines. They don't exist
and seem to confuse people.
2005-02-12 15:27:22 +00:00
rocky
521fb446a9 All structure tags now end in _s and we have typedefs for all of them
(ending in _t).
iso9660.h: abc -> a.b.c for ISO fields.
2005-02-12 10:23:18 +00:00
rocky
2f98565ee3 signature is probably better typed as a char rather than a
uint8_t. We now define structures with the _s suffix.
2005-02-12 09:52:28 +00:00
rocky
79d115401c Doxygen document ISO 9660 conversion routines a tad better. 2005-02-12 09:48:18 +00:00