rocky
e39890f7c8
1st attempt to reduce duplicate CD-Text code. (It works on GNU/Linux)...
2004-08-10 03:03:27 +00:00
rocky
87f0c9334f
Add b_cdtext_init and b_cdtext_error to generic structure. If we
...
can't read cdtext once, mark as an error and don't try to read again.
2004-08-07 22:58:51 +00:00
rocky
0d8a3e2a82
Tighten code by putting more generic routines in cdio_generic:
...
to get first track number and number of tracks
to get discmode
everybody now has gen.i_tracks and gen.i_first_track.
test/* format of output changed yet again.
2004-07-29 02:16:20 +00:00
rocky
e21255ec1a
Reduce cut and paste - add common routine, to _cdio_generic.c:
...
cdio_read_mode1_sector.
2004-06-26 00:39:00 +00:00
rocky
238b74ab7f
fewer error exits in drivers. Instead, a failure code is returned.
2004-06-25 21:10:36 +00:00
rocky
e1808fb407
Lint-like things.
...
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
376e021218
Hopefully improve names. "user_data" comes from user. "env" an
...
environment is really what this is. "obj" is just to vague.
2004-05-31 12:29:09 +00:00
rocky
cb9db0a7d5
Allow more freedom in specifying access mode.
...
Image drivers now have an "image" access mode.
2004-05-13 01:50:10 +00:00
rocky
cdd28a404d
memory freeing issues.
2004-05-05 10:34:55 +00:00
rocky
fb040eada5
Remove more memory leaks caught by valgrind.
2004-03-20 22:46:56 +00:00
rocky
6952d172e7
More valgrind-found memory leaks. (More to come...)
2004-02-07 18:53:02 +00:00
rocky
083f472570
First-cut to auto-scan for device capabilities
2003-09-28 17:14:20 +00:00
rocky
67051b0f71
Make GNU/Linux smarter about finding a default device -- code sort of from SDL.
...
Better error checking all around.
2003-06-12 04:46:27 +00:00
rocky
23420a92f0
Add generic routine to determine if a string refers to a device or not.
2003-06-07 16:49:50 +00:00
rocky
036ce00120
Not everyone has sys/ioctl.h.
2003-05-30 10:21:11 +00:00
rocky
adfb8564c9
tests -> test
...
All public includes are included via #include <cdio/....h> rather than
#include "....h"
(removed -I $top_srcdir/include/cdio)
2003-04-22 12:09:08 +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
552a60929f
Add generic_stream_free and remove out of disk-image routines.
2003-04-07 11:24:04 +00:00
rocky
1844e64bfb
More #define reductions/fixes.
2003-04-06 18:12:37 +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
60e9f15876
Small lint-like errors. Solaris now works again with new read/lseek
...
functions.
2003-03-29 21:13:55 +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