Commit Graph

167 Commits

Author SHA1 Message Date
rocky
8e8c54a457 Add MMC START STOP interface. 2005-03-09 10:23:01 +00:00
rocky
86324c60b7 Use mci command for close for now. 2005-03-09 02:36:25 +00:00
rocky
76d8cbe880 win32.c: get eject working.
device.c: an additional test for a NULL pointer to be on the safe side.
cdda-player: better handling of eject.
2005-03-09 02:19:54 +00:00
rocky
683e3d8eaf Test for invalid file handle on close_tray. 2005-03-08 15:47:50 +00:00
rocky
2b53fd1f60 Possibly Solaris close tray fixes. 2005-03-08 04:10:36 +00:00
rocky
2e91ef8ab5 Need to make close_tray_win32 external even when not on Windows. 2005-03-08 03:19:29 +00:00
rocky
7ae764d9b8 lib/driver/device.c: bug in close routine looping.
lib/*: Modify close routine for Win32 ioctl.
src/cdda-player: add option for close cd tray and minor things
2005-03-08 03:11:19 +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
75c7b9a3d3 windows audio control improvements: add stop and do a little better
about getting subchannel info (still needs work). Attempt close tray
routine which is still broken across the board pending reworking.
2005-03-07 00:55:31 +00:00
rocky
79942ad9b6 Initial op.funcs. NULL. Try using close tray via CDROMSTART. 2005-03-06 23:11:47 +00:00
rocky
c082cedeba solaris: add audio stop
gnu_linux.c: correct comment.
2005-03-06 22:53:50 +00:00
rocky
a706fc7cd2 fix prototype mismatch. 2005-03-06 22:36:27 +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
7b78b896f4 Forgot to add mmc_audio_state2str to list of exported symbols. 2005-03-06 03:00:41 +00:00
rocky
83601dc13e Add routine to turn audio status into a string. 2005-03-06 02:59:26 +00:00
rocky
333de3f467 Don't rely on mmc backward compatability. 2005-03-06 00:55:42 +00:00
rocky
29780fc927 Don't rely on MMC backward compatibility. 2005-03-06 00:54:50 +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
4c6890effd FreeBSD audio control fixes. 2005-03-05 23:21:40 +00:00
rocky
0ef7ba34cc BSDI audio control fixes. 2005-03-05 22:46:33 +00:00
rocky
7fd9eb5291 Correct getting audio subchannel info. 2005-03-05 22:10:20 +00:00
rocky
a27d21a97a win32.c: closer to getting audio controls working.
cd-info.c: was not testing MULTI_SESSION capability correctly.
2005-03-05 19:27:28 +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
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