Commit Graph

950 Commits

Author SHA1 Message Date
rocky
68bc543bf5 Move public includes to include/cdio. This should facilitate having
this source installed locally since it allows #include <cdio/cdio.h>
in the source tree.
2003-04-19 08:29:13 +00:00
rocky
6533954a6e Remove a compile warning noticed by Kris Verbeeck. 2003-04-19 00:52:16 +00:00
rocky
cf68b0ffc7 Remove compile warning on non-GNU/Linux servers. 2003-04-15 05:19:00 +00:00
rocky
9124b249d3 Bug-causing typo. 2003-04-14 23:11:32 +00:00
rocky
337d512e38 If we don't think this is a cue file, we now report that rather than
give the cryptic message about a null source.
2003-04-14 04:27:11 +00:00
rocky
0afa4b86dc Bad linux default_device initialization. 2003-04-14 04:24:47 +00:00
rocky
58e0285383 Add routine cdio_is_bincue to test if file is a cue file.
cdio_open does a better job in automatically determining the type of file.
2003-04-12 03:38:00 +00:00
rocky
5122b0b61c Tired of all those unused warings. Remove the static inline stuff.
It's probably not worth the performance gains. (And if it is we can
turn into a #define)
2003-04-11 17:33:03 +00:00
rocky
ea8c916e60 Move used #include <string.h> outside of conditional compilation since
strdup's used to get default device.
2003-04-11 17:31:50 +00:00
rocky
7d0c070f05 Forgot to add recently added read_audio_sector to op structure. 2003-04-11 17:30:30 +00:00
rocky
3614c1cc2b configure.ac: bump version
bincue/nrg: add cdio_read_audio_sector
2003-04-10 07:22:56 +00:00
rocky
de359d9b4b read_mode_audio_sector now works. 2003-04-10 07:19:43 +00:00
rocky
aa9d1b517f get_default_device with NULL will get device *without* trying to open
cd. Add read_audio call.
2003-04-10 04:13:41 +00:00
rocky
4a67211833 Add ability to read audio (CD-DA) sector. 2003-04-10 04:11:45 +00:00
rocky
de810138b8 Add CDIO_INVALID_LSN definition 2003-04-10 04:10:38 +00:00
rocky
cb55f8d8d0 CD_MAX_TRACKS -> CDIO_CD_MAX_TRACKS 2003-04-09 11:15:06 +00:00
rocky
66575b8b85 Small name changes. 2003-04-08 21:12:45 +00:00
rocky
6748f14c45 Changes brought about by sector.h #define changes. 2003-04-08 10:35:09 +00:00
rocky
d058b02d94 Revise for changed sector.h 2003-04-08 10:17:56 +00:00
rocky
8c7ea5421b Add opaque CdIoDataSource type and generic free routine for
stream-based drivers (nrg, bincue, network).
2003-04-07 11:31:19 +00:00
rocky
a35c37e275 Indention formatting that Emacs prefers. 2003-04-07 11:29:06 +00:00
rocky
52fdc872c2 Sync up with _cdio_bincue a little. free routine replaced with
a generic routine.
2003-04-07 11:25:40 +00:00
rocky
5729847c67 Move free routine into a generic routine. Some numbers replaced by
#define constants.
2003-04-07 11:24:55 +00:00
rocky
552a60929f Add generic_stream_free and remove out of disk-image routines. 2003-04-07 11:24:04 +00:00
rocky
41292ea97d Opaque type CdioDataSource is now in cdio_private.h. This forces us to
use that. (And this might not be the best, but I can't think of
anything else that is as simple.)
2003-04-07 11:23:24 +00:00
rocky
0e63b378cc Grammar typo. 2003-04-07 03:05:31 +00:00
rocky
8fadd4d784 Another case of not checking the status of operations and returning
on error (rather than continuing). Not serious this time...
2003-04-07 02:58:49 +00:00
rocky
13f5d77bb1 Propagate error results from seeks and reads. 2003-04-07 02:41:40 +00:00
rocky
689abfbb93 Document some of the interfaces. 2003-04-06 23:40:21 +00:00
rocky
f54f7824e2 Back off a little with the #define thing a little for now. I made a
mistake somewhere.  (And don't want to track it down further.)
2003-04-06 23:09:30 +00:00
rocky
31e46f28ac This time for sure? 2003-04-06 18:26:24 +00:00
rocky
1844e64bfb More #define reductions/fixes. 2003-04-06 18:12:37 +00:00
rocky
797d0c3c98 Change sector.h constants, yet again. This time for Herbert Valiero Riedel. 2003-04-06 17:57:20 +00:00
rocky
fe31b5baa6 Use new sector.h constants. More changes will no doubt follow. 2003-04-06 06:45:13 +00:00
rocky
9716c04725 More complete. Fill out seek code. 2003-04-06 06:44:25 +00:00
rocky
c9487cad26 Go with Linux definitions rather than invent our own. More changes
will no doubt follow.
2003-04-06 06:43:32 +00:00
rocky
ecb98d7e8f Close go getting simple read working. Not completely correct, but close. 2003-04-04 05:15:33 +00:00
rocky
e345c227ff Documentation improvment: Note that get_default_device returns NULL on error. 2003-04-04 00:41:10 +00:00
rocky
cd4f206a22 cdio_types.h -> types.h 2003-04-03 12:16:27 +00:00
rocky
d10a388ad0 Note that device is uninit when destroying, 'cause it is! 2003-04-02 14:54:52 +00:00
rocky
62d12714b1 More common routiens and structures moved to cdio_generic.c or
cdio_private.h respectively.
2003-03-30 13:01:22 +00:00
rocky
787b3a76fe Extend to larger interface using generic routines. 2003-03-30 01:11:35 +00:00
rocky
0b84aac9fb Yet another typo. 2003-03-30 00:40:29 +00:00
rocky
2cda8a09b3 Change default drive and fix typographical mistake. 2003-03-30 00:38:11 +00:00
rocky
60e9f15876 Small lint-like errors. Solaris now works again with new read/lseek
functions.
2003-03-29 21:13:55 +00:00
rocky
4b1e1307ea Probably closer towards compiling on those architectures. 2003-03-29 20:28:05 +00:00
rocky
f488280282 Add simple (non-mode2) read/seek.
_cdio_generic.c: place to save common driver routines
add cdio_get_track_sec_count.
2003-03-29 17:32:00 +00:00
rocky
a7add05cf2 A stab at FreeBSD support. Not finished. More later... 2003-03-25 00:00:36 +00:00
rocky
d8566f16a9 _cdio_linux.c: eject routines does it's own open and close.
cdio.h, Makefile.am, cdio.c: Add FreeBSD routine (not complete yet).
2003-03-24 23:59:22 +00:00
rocky
d4d82912da Initial revision 2003-03-24 19:01:09 +00:00