Commit Graph

32 Commits

Author SHA1 Message Date
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +00:00
rocky
5ac663c6a2 Add cdio_driver_return_code_to_str() to give a string interpretation
of a driver return code.
2006-01-15 01:26:50 +00:00
rocky
d035ad1221 add read_sector{s}
cdtext.h: Small typo.
2005-11-10 00:44:40 +00:00
rocky
c2c69389cd Add cdio_eject_media_drive. 2005-11-07 07:54:41 +00:00
rocky
7f4e8140ae Turn one more set of #define into an enum 2005-10-21 11:27:09 +00:00
rocky
fa0848bf90 Try to regularize naming better. More mmc_ -> cdio_mmc_
Add more debug variables to be able to get at enum values in a debugger.
2005-10-21 11:13:54 +00:00
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
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
ff7b7cbfa6 Correct export name. 2005-03-09 11:19:52 +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
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
7b78b896f4 Forgot to add mmc_audio_state2str to list of exported symbols. 2005-03-06 03:00:41 +00:00
rocky
822a203ba8 Add API routine to get last session number. 2005-03-05 10:10:16 +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
690e99f929 Add new audio routines. 2005-03-01 07:44:24 +00:00
rocky
7f246527b8 Add read_data_sectors to exported symbols and to BSDI. 2005-02-17 12:05:10 +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
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
2860cea4cb lib/drivermmc.{c,h}: Add mmc_have_interface() to see if we've got SCSI
or ATAPI or whatever.

cdda_interface: Use mmc_have_inteface() we don't have anything for
this except in GNU/Linux. May reduce the unnecessary data_bigendianp()
calls which cause lots of disc reading.

Turn #defines for MMC Profiles into enumeration.
Add enumeration for "core" interface types

#include <cdio/scsi_mmc.h> -> #include <cdio/mmc.h>
2005-02-07 03:36:01 +00:00
rocky
6618a05537 Various portability fixes mosty for MSVC which doesn't have drand and
doesn't allow dynamic local arrays.
v_fragment -> v_fragment_t
libcdio.sym: more external symbols defined
/lib/_cdio_linux.c: harmless type mismatch
example/sample2.c -> example/device.c
2005-02-06 15:09:10 +00:00
rocky
315a31a5ee scsi_mmc -> mmc name change. 2005-02-06 13:10:37 +00:00
rocky
f882c3e3b3 Missing cdio_error. 2005-01-29 21:20:01 +00:00
rocky
798929000d stat_size -> get_disc_last_lsn. Now returns lsn_t and CDIO_INVALID_LSN
on error.

Add MMC version of get_disc_last_lsn.

More regularization of driver_return_code_t and get_disc_last_lsn

There's probably some small driver breakage which will be fixed soon.
2005-01-24 00:06:31 +00:00
rocky
e5bdc956e9 Add interface for setting speed and blocksize. Reinstated it in
cd-paranoia libraries and command.

Some more variable convention regularizations.
2005-01-18 00:57:19 +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
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
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