Commit Graph

141 Commits

Author SHA1 Message Date
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
9cd2c6916a Towards audio controls working on FreeBSD. 2005-03-03 13:48:47 +00:00
rocky
12c4dc4457 Add some of the audio routines to BSDI driver. 2005-03-03 10:32:44 +00:00
rocky
3466eeb8cd sunos -> solaris. lsn -> i_lsn 2005-03-03 08:43:39 +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
cfda57a213 Put back use of read_audio_subchannel_linux() 2005-03-01 11:00:49 +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
126777b282 _cdio_sunos.c: add audio routines.
_cdio_linux.c: small formatting changes.
2005-03-01 08:14:09 +00:00
rocky
690e99f929 Add new audio routines. 2005-03-01 07:44:24 +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
19524f1d51 read_data_sectors via (cooked) generic read. 2005-03-01 01:22:38 +00:00
rocky
18392b405f Fix up read_data_sectors by using generic cooked routine. 2005-03-01 01:09:53 +00:00
rocky
f692c47b43 Audio (via line output) related routines. 2005-03-01 00:49:24 +00:00
rocky
47a5589e61 Add audio lineout controls (play, pause, volume control) 2005-03-01 00:41:34 +00:00
rocky
53916b41bf Add read_data_blocks via cooked mode. Seems to work better than read_cd. 2005-03-01 00:40:39 +00:00
rocky
716fa9a080 Failed attempt to make read_data_sectors work. 2005-02-28 04:05:17 +00:00
rocky
99332fbd44 Don't try to read too many blocks on MMC readcd. 2005-02-28 02:56:26 +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
602be8e5c6 win32.c: fill in read_data_blocks (use mmc routine)
iso-info.c: lint cast on output
iso9660.c: deal with struct tm's that don't have gmt_off.
2005-02-27 20:16:08 +00:00
rocky
039ff7c756 Bug in setting blocksize - wasn't using passed parameter. 2005-02-25 10:22:48 +00:00
rocky
62c514d60d _cdio_generic.c: OSX does return CDIO_CDROM_CDI_TRACK.
_cdio_osx.c: fixup read_data_blocks. May have to complicate more if we
need to make a distinction between Form 1 and Form 2. Revise for
current name/variable conventions.
2005-02-25 09:17:41 +00:00
rocky
b4a4b971f9 Guard against deferencing NULL pointer. 2005-02-24 06:32:57 +00:00
rocky
8e8e12f906 Use TR_ values from cdio/cdda.h. 2005-02-24 00:25:52 +00:00
rocky
f49cd32f45 Add read_data_blocks; revise according to current conventions. 2005-02-24 00:18:34 +00:00
rocky
2d41f7dc42 Add read_data_sectors 2005-02-19 00:58:12 +00:00
rocky
e65d0eb854 Mode sense changes. Not sure about this though. 2005-02-18 09:49:14 +00:00
rocky
7f246527b8 Add read_data_sectors to exported symbols and to BSDI. 2005-02-17 12:05:10 +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
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
d37d48bc1c gcc < 3.0 compilation fix 2005-02-14 01:07:29 +00:00
rocky
d7bee1720b mmc.c: mmc_mode_sense can't use cdio_have_atapi (without further check) or else
we may get an infinite recursion.
win32_ioctl.c: deal with an error message that can't be converted to a string.
2005-02-11 03:30:12 +00:00
rocky
43f59fc830 Stylistic changes. 2005-02-11 02:18:15 +00:00
rocky
8dfb4780cd Bug fix for mmc_have_interface.
checK_paranoia.sh.in: fix bug in returning success on a core dump
win32.c: some small changes - more later.
image/*.c: set run_mmc_cmd NULL explicitly.
2005-02-11 01:34:12 +00:00
rocky
e491ba74d6 Use solaris ioctl for blocksize set/get. Prototype corrections. 2005-02-10 11:23:08 +00:00
rocky
5316ed6880 Think I have how to get MMC media changed worked out. 2005-02-10 03:23:10 +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
43e8856bfa Turn a number of the info messages into debug messages. 2005-02-09 09:55:38 +00:00
rocky
3755da8d0c Add mode_sense6() and mode_sense10() MMC commands. Use them to
hopefully clean up code a little. Remove some unused MMC "private"
commands.

iso4 -> isofuzzy
2005-02-09 02:50:46 +00:00
rocky
644ad9ceb7 Add "Rigid Restricted Overwrite" string. 2005-02-09 01:24:17 +00:00
rocky
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
7bb03d5c93 Break out DVD detection. More verbose comments about the issues here. 2005-02-07 04:16:19 +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
3344d5642f Windows fixes. Read TOC via MMC only when media is not DVD. 2005-02-06 17:36:17 +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
ae0356f74e FreeBSD fixes. 2005-02-06 13:05:42 +00:00
rocky
e2bfdf7659 OSX fixes. 2005-02-06 11:46:12 +00:00