From c630369e37f69b16c74715d4683376254fde3137 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 13 Dec 2011 16:43:46 +0000 Subject: [PATCH] More macros for CD-TEXT genre and language names --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/libburn.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index d2cbf3ca..e9cb9cde 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.12.12.181346" +#define Cdrskin_timestamP "2011.12.13.164329" diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index 1437798b..f8b3e843 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -1956,6 +1956,23 @@ int burn_session_set_cdtext_par(struct burn_session *s, "Bengali", "Bielorussian", "Bambora", "Azerbaijani", \ "Assamese", "Armenian", "Arabic", "Amharic" +/* This is the list of empty languages names between 0x30 and 0x44. + Together the three macros fill an array of 128 char pointers. + static char *languages[] = { + BURN_CDTEXT_LANGUAGES_0X00, + BURN_CDTEXT_FILLER, + BURN_CDTEXT_LANGUAGES_0X45 + }; +*/ +#define BURN_CDTEXT_FILLER \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "", "", "", "", \ + "" + + /* ts B11206 */ /** Obtain the current settings as of burn_session_set_cdtext_par() resp. @@ -2040,6 +2057,10 @@ int burn_session_set_cdtext(struct burn_session *s, int block, "Pop Music", "Rap", "Reggae", "Rock Music", \ "Rhythm & Blues", "Sound Effects", "Spoken Word", "World Music" +/* The number of genre names in BURN_CDTEXT_GENRE_LIST. +*/ +#define BURN_CDTEXT_NUM_GENRES 28 + /* ts B11206 */ /** Obtain a CD-TEXT attribute that was set by burn_session_set_cdtext()