rocky
3d6d01ddbd
Set toc_init even on image drivers. Never know when the could will
...
start needing this, but may as well do now.
2004-08-16 02:04:08 +00:00
rocky
cf7b5e9bf4
Merge common cdtext code into image drivers.
2004-08-13 13:04:37 +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
20e8974df8
Big change!
...
We now are starting to have universal MMC routines. To do this we need
to have function pointers to the OS-specific MMC send/run command.
Expect some breakage. Down the line though this will increase code reuse,
reliabilty, and make the library more user-customizable.
2004-07-26 02:54:37 +00:00
rocky
fd5e6d1243
Reduce overall number of CD disc modes. I thing the main purpose
...
that will be used is to separate CD Audio from CD Data, XA and DVD's.
On GNU/Linux it seems that the implementation is a bit artificial.
2004-07-25 18:37:09 +00:00
rocky
b4cea7fd9e
Add get_disc_mode to image readers.
...
Add it in cd-info display.
Update regression tests.
I'm not sure disc_mode is all that helpful or correct.
2004-07-24 14:23:37 +00:00
rocky
e84c6316b0
Expand getting drive capabilities. We now have 3 masks where we had
...
only one before.
2004-07-17 22:16:46 +00:00
rocky
0c36493f8d
Expand get_cdtext to include a track number. 0 = disc info.
2004-07-17 02:18:26 +00:00
rocky
0d3c10c775
Redo CD-TEXT handling. First minimally working version for CD bin/cue
...
and cdrdao images.
2004-07-11 14:25:07 +00:00
rocky
adac30f39c
Initialize cdtext to NULL and other add some initializations that should
...
have been done.
2004-07-11 02:28:06 +00:00
rocky
ab9460c3f4
Hoist some more common image routines and make image drivers look more
...
common. In particular we now have a "cue", "source", and "access-mode"
parameters defined even when "cue" and "source" are the same as in NRG.
The _img_private_t's for the image drivers are now more similar if not
the same.
Some memory leaks when there are error conditions in opening image
drivers have been fixed.
2004-07-10 11:06:00 +00:00
rocky
13af656fea
Hoist common track mode, disk format and disk flags into sector.h
...
Hoist track information into image.h
2004-07-10 02:17:57 +00:00
rocky
b525effb95
Pull out mmssff_to_lba routine and fix bug when in error reporting
...
when frame >= 100.
Add msf3_to_lba and use that where possible (win32_ioctl.c for
example).
2004-07-10 01:21:19 +00:00
rocky
3ee48c691c
bincue: check catalog string for validity.
...
cdrdao: slightly more precise error messages for CATALOG.
2004-07-09 20:48:05 +00:00
rocky
2ef8f54043
Now uses cuetools-based cue parsing. A more complete job is now
...
done.
Cue files are completely parsed for validity in cdio_is_cuefile.
Remove sector 2336 (PSX) hack. It's now gotta be in the cue file.
Get a c(l)ue. If you don't have one, we're no longer going to try to
fake one up (which we did poorly anyway.)
2004-07-09 10:12:15 +00:00
rocky
56e40df160
mcn -> psz_mcn and other psz variables.
...
bincue.c: a little closer to getting cuetools parse_cuefile useable.
2004-07-09 02:46:42 +00:00
rocky
75f04f119b
Fill in a tad more. In particular the mmssff_to_lba routine.
2004-07-09 01:23:46 +00:00
rocky
ed6f60868d
Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
...
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
79ea450a56
Add type for holding MCN and ISRC. Add type for session
...
Replace magic constant 100 with CDIO_MAX_TRACK+1 where appropriate.
_cdio_osx: save session number and presumably some tighter coding.
nrg.c: make sure we add zero byte to end of MCN.
2004-06-27 15:29:20 +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
11f7fbe9f3
Avoid subtraction of unsigned numbers.
2004-06-01 11:45:35 +00:00
rocky
a9f1ebe431
Bug in conversion logic.
2004-06-01 11:43:57 +00:00
rocky
33be1e3ebf
Some variable renaming.
...
Also less pervasive assumption that the first track is 1.
2004-06-01 11:15:58 +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
3f6cba2b0a
- Redo types of lsn and lba to allow negative values. Should model MMC3
...
specs. Add max/min values for lsn.
- More complete MMC command set
2004-05-11 02:15:42 +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
a664ea08b0
Regularize and I hope simplify names a bit more.
...
image/*.c: (bogus) eject media now frees resources
bincue.c: missing default_devices routine in function initialization table.
2004-04-25 14:48:17 +00:00
rocky
20974d4568
CDIO_DRIVE -> CDIO_DRIVE_CAP
2004-04-25 14:07:23 +00:00
rocky
1bf5f1e464
Regularize naming convention of static routines a little bit.
2004-04-25 01:19:58 +00:00
rocky
52e0a80503
lib/*c, include/cdio/*.h: Add more drive capability info
...
util.{c,h}: common routine for printing capbilities
cd-info.c: use above.
*.right: update for capability display of above
cd-drive.c: new program to show drive capabilities
2004-04-25 00:46:34 +00:00
rocky
a516b22565
image/common.h -> image_common.h. I'd rather switch than fight. I
...
still hate automake.
2004-04-23 02:18:07 +00:00
rocky
b6a67c8d94
image/common.c, Makefile.am: common image routines.
...
src/cd-info.c, *.right: Now show file images under "drive capability"
bincue.c/nrg.c: report file image "drive capability"
2004-04-23 01:01:35 +00:00
rocky
2cfe722a21
Compilation fix: declarations need to come before statements for gcc < 3.0.
2004-03-22 01:01:50 +00:00
rocky
fb040eada5
Remove more memory leaks caught by valgrind.
2004-03-20 22:46:56 +00:00
rocky
5b7204c167
Remove memory leaks found by valgrind.
2004-03-20 21:54:38 +00:00
rocky
2a3d73ca21
Changes to make -mno-cygwin (no POSIX emulation on M$) work. In the
...
process, in configure.ac might have broken cygwin when -mno-cygwin
isn't used. We'll see.
2004-03-10 11:53:10 +00:00
rocky
af2c12ddc1
regularize variable names mode{1,2}_form2 -> b_form2
2004-03-06 18:22:07 +00:00
rocky
68b259c26a
Small changes.
2004-03-06 03:21:59 +00:00
rocky
9184f52579
See previous log entry.
2004-03-06 01:26:35 +00:00
rocky
a716292bd6
The logic in _cdio_read_mode2_sector seems a bit wrong and convoluted
...
to me, but passes the regression tests. (Perhaps it is why we get
valgrind errors in vcdxrip). Leave it the way it was for now.
Review this sector 2336 stuff later.
2004-03-06 01:24:29 +00:00
rocky
281585e49d
*: Create OS-specific directories.
...
bincue.c: remove more bogus behavior in mode1/mode2 sector reading.
2004-03-05 12:32:45 +00:00