rocky
1028538fef
Ignore info where session is 0. At least for now.
2004-06-17 10:41:05 +00:00
rocky
e4df5a7623
Make sure we get TOC info for a single session. For new we can really
...
only deal with a single-session CD.
2004-06-17 03:24:39 +00:00
rocky
2bb59a4147
Note OSX LBA is cdio LSN.
2004-06-17 01:20:40 +00:00
rocky
4c910a3e0a
Don't need to set i_leadout twice.
2004-06-17 01:16:50 +00:00
rocky
48adac95ad
getFirstrack_osx and getNumberOfTracks_osx do duplicate scanning that
...
could be done when looking for the leadout track. Revised
code to removes these routines, consolidating the searching in one
loop.
To be *very* conservative, a first loop finds the positions of the
leadout, first track and last track. This code then doesn't assume
that the track numbers are in order. They could be given track 3, 2,
and then 1 or 2, 3, and then 1. Another loop then maps
first_track..last_track 0..number_of_tracks - 1
2004-06-17 01:15:17 +00:00
thesin
dc413f1582
Works with all burnt media, bought media is different some how. Still better then it was since it didn't work at all.
2004-06-16 04:51:29 +00:00
rocky
e4971ecac5
Wait a minute - the 0xa2 *is* larger than CDIO_CD_MAX_TRACKS. But I guess
...
we still should consider ptrackDescriptors[i_descriptors].
2004-06-14 08:18:57 +00:00
rocky
8406974f64
Probably more correct.
2004-06-13 21:43:41 +00:00
rocky
eed4e28a19
Back off of testing for unread TOC. Probably a good idea to do lazy
...
TOC reading.
2004-06-06 11:25:13 +00:00
rocky
0bb7fadf26
More work on removing assumption that first_track is 1.
2004-06-06 10:50:55 +00:00
rocky
c92b8a21c4
# include vs #include a problem?
2004-06-02 07:40:13 +00:00
thesin
08d7ceae64
Few fixed for the big rename and fixed a long standing mmmm thing that bothered me, -I-I../lib ;)
2004-06-02 04:52:55 +00:00
rocky
afe62ef6bb
Compilation fixes.
2004-06-02 01:01:18 +00:00
rocky
5e2642af4b
Remove some of the bogus assume 1 is first track.
...
Renamings: env -> user_data
_obj -> env
2004-06-02 00:43:53 +00:00
thesin
48b9dd9306
Now knows XA and CD-i tracks, thought I'm not sure it's working 100%, reads the correct amount of tracks, still need to fix the MCN code.
2004-06-01 16:02:46 +00:00
thesin
ff7a568da5
Now knows the difference between DATA and Audio tracks on OSX, also temp change to eject command till I find the right way to implement it in code.
2004-06-01 03:44:55 +00:00
thesin
b0416a3eff
Fix compile on OS X 10.3, should work on 10.2 and 10.3, still testing for 10.1, OS X Drivers still incomplete this is just to fix compiling.
2004-05-31 15:21:48 +00:00
rocky
f858aedc98
We shouldn't terminate if we can't get an MCN.
2004-05-27 10:47:07 +00:00
rocky
d31f2f4489
deal with disc-image device properly.
2004-05-07 09:55:54 +00:00
rocky
fa0c34a015
Typo.
2004-05-07 03:04:01 +00:00
rocky
b691fb63f3
Compilation fix.
2004-05-01 01:05:26 +00:00
rocky
7f8cefed11
Add cdio_open_am to allow specifying an access method use for
...
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
6a0f9e4686
Add const on get_mcn prototype and initialization of get_drive_cap in
...
func structure
2004-04-25 17:05:07 +00:00
rocky
34cc0fb16f
Missing a couple of const's in get_mcn when prototype changed.
...
cdio.h: doc fix.
2004-04-25 16:38:06 +00:00
rocky
3ecd485a7d
More regularization of names. Warning: untested on freebsd and osx.
2004-04-25 15:41:26 +00:00
rocky
515f6fbea5
Fix compilation bug.
2004-03-20 04:16:59 +00:00
rocky
21e6af7f72
Best guess right now at what might work for mode1/mode2.
2004-03-09 02:55:37 +00:00
rocky
71b9f29929
Compilation bugs.
2003-10-13 23:41:42 +00:00
rocky
5ddc3d4e14
OSX fixups and #define bugs from thedj.
2003-10-08 01:06:19 +00:00
rocky
5bf9f94b89
Get Media Catalog Number - courtesy of thedj!
2003-10-05 14:55:34 +00:00
rocky
b2656fd6ce
Default logger now allows level to be set and we use a reasonable setting, e.g. no DEBUG
2003-10-05 14:47:45 +00:00
rocky
1419c9b7e2
Wrong define. Thanks thedj!
2003-10-04 20:11:27 +00:00
rocky
6450be398b
Add get_mcn, although it really only works on GNU/Linux right now.
2003-09-25 09:38:15 +00:00
rocky
dd05f2e6ad
Change interface for read_audio_sectors.
2003-09-20 12:34:02 +00:00
rocky
13424fc893
More lba, lsn confusion.
2003-09-15 01:37:32 +00:00
rocky
fbde711bfb
Changes from Derk-Jan Hartman <thedj@users.sourceforge.net> for
...
OSX support.
2003-09-14 17:04:48 +00:00
rocky
bf6bbbc6b1
Loop went the wrong way.
2003-09-14 15:26:31 +00:00
rocky
e3ca45dcf2
Go back to 0xa2 for "leadout"
2003-09-14 14:44:26 +00:00
rocky
3ed825f8c7
Change default device, use normal leadout track, fix doc typo(s).
2003-09-14 01:21:41 +00:00
rocky
1d979718ca
Rudimentary beginnings for Darwin OS X CD support.
2003-09-13 06:25:36 +00:00