rocky
afa9015c4a
Heiner reports that FreeBSD's passopen() and xptopen() don't allow
...
nonblocking access so O_NONBLOCK might do harm. But it's just a guess
pending what others discover/report.
2005-05-09 23:19:40 +00:00
rocky
2235d79e7a
cdio_generic_init interface parameter added. Noticed by Heiner.
2005-05-08 09:58:33 +00:00
rocky
bb04344980
Was converting in the wrong direction.
2005-05-07 22:37:15 +00:00
rocky
43baf9cbdf
Remove unused variable.
2005-04-14 01:24:32 +00:00
rocky
c0c9b1a22e
gcc 2.95 compatibility - decls before statements.
2005-04-14 01:10:24 +00:00
rocky
6a8b040a2f
FreeBSD audio control patches from Heiner.
2005-04-05 02:13:58 +00:00
rocky
7f0c18e0ab
freebsd.c: forgot initialization.
...
correct one of the doxygen comments.
2005-03-29 12:00:23 +00:00
rocky
80754e4939
Typo in field name. Thanks again to Steve Schultz.
2005-03-21 07:53:22 +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
eb575cf40c
missing declaration
2005-03-17 15:32:27 +00:00
rocky
aa74e98227
Forgot close of file descriptor.
2005-03-11 02:10:11 +00:00
rocky
6cc745b6e0
Possible filling out of FreeBSD audio control routines.
2005-03-11 02:08:05 +00:00
rocky
1fe287e813
More audio control corrections.
2005-03-06 11:21:52 +00:00
rocky
4c6890effd
FreeBSD audio control fixes.
2005-03-05 23:21:40 +00:00
rocky
9cd2c6916a
Towards audio controls working on FreeBSD.
2005-03-03 13:48:47 +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
ae0356f74e
FreeBSD fixes.
2005-02-06 13:05:42 +00:00
rocky
71a71d7f56
Start to implement ability to a detect media change.
...
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
f1d3b190ba
remove cdio_malloc and replace with calloc which does functionally
...
exactly the same thing (but is standard). In some drivers _data -> p_data.
2005-02-03 07:35:14 +00:00
rocky
97bedb82a6
Add check for <sys/param.h> to and use in freebsd.c to stop warning.
2005-01-27 04:54:26 +00:00
rocky
75496146b7
Some FreeBSD fixes.
2005-01-27 04:00:48 +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
19856a30da
Change read routines so the use the driver_return_code_t enumeration.
...
It's a little cleaner and may make things clearer in debugging.
2005-01-23 19:16:58 +00:00
rocky
4fabb2857e
Remove some valgrind-caught memory leaks or use of uninitialized regions.
2005-01-23 05:31:03 +00:00
rocky
4e8d4c1373
Add a CAM read audio now that CDIOREADAUDIO deosn't work on newer FreeBSDs.
...
Deal with recent generic->mmc name changes.
2005-01-22 12:51:56 +00:00
rocky
688c30e66a
Move some of the "generic" routines using MMC into SCSI-MMC. Think is a
...
little bit clearer and cleaner.
2005-01-21 02:59:32 +00:00
rocky
e6fc7b7ad2
Missed a couple of env -> p_env's
2005-01-20 14:58:22 +00:00
rocky
d6b930e6cc
Add get_blocksize. There may be some breakage as I haven't tested all of the
...
various drivers yet.
2005-01-20 05:07:00 +00:00
rocky
bd333bc73f
Move a set_speed and set_blocksize (via MMC)from driver-specific
...
places to generic.
Add _t to yet another type.
2005-01-20 01:00:52 +00:00
rocky
8edd441cbd
Add FreeBSD set speed routine.
2005-01-18 04:03:06 +00:00
rocky
17c55ea59b
add _t to another time. driver_id inside p_cdio wasn't initialized.
2005-01-17 17:20:09 +00:00
rocky
4da210587e
Save track flags for FreeBSD (preemphasis, # number of audio channels
...
and copy permit)
2005-01-12 12:15: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