Commit Graph

7 Commits

Author SHA1 Message Date
R. Bernstein
dde01f420a Revise OO CD-Text CPP for different interface. Update copyright and untabify some files. 2012-03-03 07:55:27 -05:00
R. Bernstein
c67e423704 Harmonize source headers: C examples (Patch 4/5) 2012-03-02 23:41:06 -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
a20dbc952c From Leon Merten Lohse https://savannah.gnu.org/patch/?7532:
* discid field extraction
 * genre field extraction (experimental)
 * blocksize field extraction
 * read charcode from blocksize field
 * some unneeded comments removed
 * unneeded local variables removed
 * typos
2011-04-23 14:43:21 -04:00
rocky
f180cae22d example/* change failures so the record as skipped tests when running 'make check'. 2009-12-26 17:25:05 +01:00
R. Bernstein
35663d6266 Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built. 2009-11-26 05:31:39 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00