Commit Graph

11 Commits

Author SHA1 Message Date
rocky
8eabfdd37a Remove some driver compilation warnings 2012-03-04 14:34:58 +01:00
R. Bernstein
f130f66c5d mmc_hl_cmds.c: remove gcc warning
solaris.c: remove unused fn warning when not on solaris
check_cue.sh.in: fix so we can build outside of source tree. With this, "make distcheck" works again.
2012-01-28 20:56:30 -05:00
R. Bernstein
dbf6d24765 1) cdtext objects are no longer associated with a track but with the disc.
2) - cdio_get_cdtext no longer takes track as an argument
- cdtext_get, cdtext_get_const, cdtext_set require track argument
3) Language, Genre, Genre Code and Encoding Fields are now properly parsed and stored in the cdtext object
4) Added public function cdio_get_cdtext_raw to extract the binary CD-Text
5) Added CDTEXTFILE keyword logic in cue sheet parser. Parses binary/raw CD-Text files
6) Added cdtext_genre2str to convert genre code
7) altered the example programs, test drivers, cdda-player and cd-info to work with these changes
8) Added test case
9) A few smaller changes
A disc either holds CD-Text for all the tracks or does not hold any. Therefore a CD-Text object for the whole disc seems more natural to me. It also enables us to store global fields, like genre, encoding, language.

Patch was tested on GNU/Linux 32 bit running Gentoo.
2011-11-24 20:54:40 -05:00
R. Bernstein
f215cad224 Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
2011-10-20 19:44:10 -04:00
rocky
b4b810eaf9 solaris.c: sprintf->snprintf as implicitly suggested by Thomas Schmitt 2011-10-20 03:09:40 +02:00
R. Bernstein
47e4844390 Solaris patch from Thomas Schmitt to make the Solaris driver capable
of detecting drives without vold, and how to implement access mode
MMC_RDWR.
2011-10-18 20:00:56 -04:00
R. Bernstein
9be0980337 Change a number of sprintf's to snprintf. 2011-05-27 17:50:56 -04:00
R. Bernstein
a3ed634fe5 Recording and retrieval of SCSI sense reply for GNU/Linux. 2009-12-25 08:45:48 -05:00
R. Bernstein
f031f69f69 On ioctl's, a negative number is considered an unspecified error while
a positive number is not. Replace tabs in lines with blanks.
2009-12-24 06:28:27 -05:00
rocky
d62c732082 Start Solaris driver test. Driver MMC sets cdio return codes better. 2009-12-24 03:52:50 +01:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00