Commit Graph

9 Commits

Author SHA1 Message Date
Leon Merten Lohse
3940726aa7 Fixed that CD-Text from cdrdao toc was shifted one track forward. 2012-03-27 17:45:09 +02:00
Leon Merten Lohse
d7d488f816 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio 2012-03-22 22:23:21 +01:00
Leon Merten Lohse
591c23ee48 Changed cdtext_select_language to take a cdtext_lang_t instead of a const char * to specify the desired language. 2012-03-22 22:21:52 +01:00
R. Bernstein
21f3187bb8 More small header changes:
* Remove leading underscores in header preprocessor names
* Regularize names to include directory parts in the file name
* Untabify files
* Update copyright and remove unmaintained cvs $Id$ line

The justification for removing leading underscores comes from a CERTS Secure Coding recommendation: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL32-CPP.+Do+not+declare+or+define+a+reserved+identifier

See also Savannah bug #35745 https://savannah.gnu.org/bugs/?35745
2012-03-18 12:02:01 -04:00
Leon Merten Lohse
2a6f153952 [renamed] cdtext_languages_available to cdtext_list_languages
[fixed] C++ CD-Text API
[fixed] C++ CD-Text example
2012-03-11 16:41:28 +01:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
R. Bernstein
8d43aaca4d Patch from Leon Merten Lohse: Correct the length of the CD-TEXT block. 2011-12-04 20:29:53 -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
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00